In global scope, variables are declared outside of blocks. These variables are called global variables. Because global variables are not bound inside
FunctionsHow to calculate the area of a rectangle.Measure the width of the rectangle.Measure the height of the rectangle.Multiply the width and height
if, else if, and else statements comparison operators logical operators truthy vs falsy values ternary operators switch statement [if] In programmin
Console.log() Code comments : Single line comment : // sentence. Multi line comment : /* sentences. */ (Also can use it in the middle of a line or co