The browser storage localStorage is not available. Either your browser does not support it or you have disabled it or the maximum memory size is exceeded. Without localStorage your solutions will not be stored.

Compare numbers

Numbers can be compared with the well-known mathematical symbols. In the following examples, all expressions return the value true.
var v1 = 5 > 4;
var v2 = 5 >= 5;
var v3 = 5 < 6;
var v4 = 5 <= 5;

Exercise

Write a function isThreeDigit that checks if a number is greater than or equal to 100 and less than 1000. isThreeDigit(500) should return true. The call isThreeDigit(50) should return false.