Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Equality Operator

function testEqual(val) {
  if (val==12) { // If this condition is true
    return "Equal";//This line is executed
  }
  return "Not Equal";//Or This line is executed
}

testEqual(10);
Source by blog.surya-l.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #Equality #Operator
ADD COMMENT
Topic
Name
3+2 =