SRL Archive - OSR Help

Coding.org


sirairhorn

2013-02-28 19:00:27

console.log(15 > 4);
console.log("Xiao Hui".length <= 122);
console.log("Goody Donaldson".length >= 8);
console.log(8*2 >= 16);
Oops, try again.
It looks like the fifth console.log() call didn't return false.
Why isn't this working?

remember me

2013-03-04 13:30:44

fourth*
8*2=16 everyone knows that but it's not greater then 16 and not less then 16 so,
it can't turn true or false.
if you would do
console.log(8*2-1 >= 16);
then its 15 and that isn't bigger then 16
so that would return false