13.Comparisons


#1

I'm having trouble with this section. Please help!


#2

You are just logging comparisons like 5>4.

And it gives you specific rules:

//After you run the code, you should see true 4 times, and false 2 times.
//By using `console.log` at the start of each line, 
//we are able to print 6 lines of output.

So this is an example(Please understand the code):

console.log(15 > 4);
console.log("Xiao Hui".length> 5);
console.log("Goody Donaldson".length> 5);
console.log(8*2> "hi".length);
console.log(5<"hi".length);
console.log("hi".length> 6);

Hope this helped! And have a Merry Christmass!!:evergreen_tree: