Saturday, August 15, 2020

JavaScript for Beginners to Advanced

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

  1. push()
  2. pop()
  3. shift()
  4. unshift()




No comments:

Post a Comment

Please feel free to provide feedback, if any ..