Quotes help make search much faster. Example: "Practice Makes Perfect"

Tuesday, December 4, 2012

Codecademy: Codeyear Learn your comparison operators


//sample solution


console.log( 2 > 1 ); // is greater than or equal to.
console.log( 4 > 1 ); // is greater than.
console.log( 0 === 0); // is equal to.
console.log( 1 === 1 ); // is less than or equal to.
console.log( "Hi" !== "hi" ); // is not equal to.
console.log( 0 < 1 ); // is less than.

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts