Comparison Problems


I was trying to do this yesterday with a friend of mine, and it kept saying that my syntax is wrong.
Here is my code:

// 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);false
console.log("Goody Donaldson".length 8);false
console.log(8*2 16);true

I'm REALLY confused!


I believe your issue is that you are not putting in the comparison operators, just have it with the problem and no comparing. Pretty much if you add "("Xiao Hui".length < 122)" "("Goody Donaldson".length > 8)" and "(8*2 === 16)"