let x = 15;
let y = 20;
console.log( x != y )
Output:
let x = 9
let y = '9'
console.log( x === y )
Output:
let x = 37
let y = '37'
console.log( x == y )
Output:
let x = 37
let y = '37'
let y = parseInt(y)
console.log( x === y )
Output:
let x = 99
let y = 99
console.log( x > y )
Output:
let x = 102
let y = 102
console.log( x >= y )
Output:
let x = 67
let y = 99
console.log( x < y )
Output:
let x = 67
let y = 99
let x = y
console.log( x < y )
Output:
let x = 67
let y = 99
let x = y
console.log( x <= y )
Output:
20 in variable
myAge. What will be output of following code?
let myAge = prompt("Please enter your age");
let yourAge = 20
console.log(myAge === yourAge);
Output :