So you want to learn code?
-
String : A string is used for represented text, everything in the desired text is wrapped around in double or single quotes. (' ' or " ")
var myString = "Hello world!";
-
Integer & Float :
-
An integer represents numbers without decimals.
var ageOfDog = 2;
-
A float represents numbers with decimals.
var priceOfDog = 2000.50;
-
-
Boolean : These are used for true or false statements. The value is either true or false.
var x = false;
-
Array : An array is a group of instances, this could be strings, integers, floats, or booleans.
var groceryList = ["apples", "eggs", "chocolate", "bananas", "cereal"];