JavaScript Great tools
- CodePen.io
- Scrimba.com
JavaScript Arrays
newArray = [2, 4, 7, "Hello Vivek", [4, 7], [[1,2,3,4,5], "A"], "B"]
== Equality Operator. Does type conversion and then checks for equality. For ex : 5 == "5" will return true, as inherent value 5 is equal
=== Strict Equality Operator. NO type conversion and checks for equality. For ex : 5 === "5" will return false, as string and number are not equal.
Similarly !== Strict Inequality Operator
JavaScript built-in methods
- push()
- pop()
- shift()
- unshift()
No comments:
Post a Comment
Please feel free to provide feedback, if any ..