Comparison operators - Greater than
console.log()
statement below we use the Greater Than operator to check whether the value of numOne is greater than the value of numTwo. Change the code so that the console.log()
statement logs true
.
const numOne = 5;
const numTwo = 6;
console.log(numOne > numTwo);
Javascript
Console