Wednesday, October 21, 2015

Comparison Operator in Jquery

used in logical statements to determine equality or difference between variables

  1. == equal to                z == 9                     false
  2. === equal value and equal type z=== 3     true
  3. != not equal                z!=6                               true
  4. !== not equal value or not equal typ u !== "9"   true
  5. > greater than                i > 5                     false
  6. < less than               i < 5                            true
  7. >= greater than or equal to i >= 5               false
  8. <= less than or equal to

No comments:

Post a Comment