/javascript-examples-basic

This repository has code in JavaScript to a begginner.

Primary LanguageJavaScript

Algorithm with many examples using JS

Here goes the demonstration of some examples for you to use with JavaScript

  • 1 - Declaration of Variables In this example we want to show the types of variables var, let and const.

  • 2 - Types of Variables In this example we want to show the dinamic types number, string, boolean and primitive types Boolean, Null, Undefined, Number and String.

  • 3 - Conditions In this example we want to show the conditions and decisions, using the comparators operators ==, !=, ===, !==, >, <, >= and <=, logic operators &&, || and ! and using conditions to decisions if, else if, else, ternary and switch.

  • 4 - Loops and interactions Coming soon...

  • 5 - Functions Coming soon...

  • 6 - Type Object In this example we want to show the type Object.