Advertisement
KodingKid

Javascript Comparisons (are a and b equal, higher, or lower?)

May 28th, 2021
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = 1
  2. b = 2
  3. a < b //a is less than b
  4. a <= b //a is less than, and not equal to b
  5. b > a //b is more than a
  6. b >= a //b is more than, and more than equal to a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement