Super Programming Tricks

Super Programming Tricks

Share

A Place of Knowledge on Technology.

23/02/2014

Here are some points about JavaScript’s syntax that are worth noting:
• Statements are terminated with semicolons (;)
• Code blocks are enclosed in curly braces ({})
• Variables are declared using the var keyword
• Array elements can be accessed with square bracket notation ([])
• Array keys are assigned beginning at 0
• The single equals sign (=) is the assignment operator (assigns a value to a variable)
• The double equals sign (==) is the equivalence logical operator (compares two values
and evaluates to true if they are equivalent)
• The plus sign (+) is the string concatenation operator (combines two strings
together)

Want your practice to be the top-listed Clinic in Jaipur?
Click here to claim your Sponsored Listing.

Website

Address


Jaipur
302020