Java Script (Comparison)


#1

Can't get past this Comparison section any one got an idea?

// Here is an example of using the greater than (>) operator.
console.log(15 > 4); // 15 > 4 evaluates to true, so true is printed.

// Fill in with >, <, === so that the following print out true:
console.log("Xiao Hui".length 122);
console.log("Goody Donaldson".length 8);
console.log(8*2 16);
console.log(4+4 8);
console.log(5+8 13);
console.log(1/2 0.2);
console.log(3/3 1);
"zach".length > 1;


#2

@sensiblevirus, the post that I have link to will help you understand how to tell JavaScript that you want to compare two values.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.