Answers for "javascript if less than and greater than"

2

javascript less than but greater than

let X = 4
let Y = 5
let Z = 8

if (Y < Z && Y > X) {
    console.log(`Y is less than Z but greater than X, or mathematically
	'X < Y < Z' or 'Z > Y > X'
	`);
}
Posted by: Guest on January-15-2021
8

=== javascript

// ===	means equal value and equal type
var x = 5

// true
x === 5

// false
x === "5"
Posted by: Guest on May-16-2020

Code answers related to "javascript if less than and greater than"

Code answers related to "Javascript"

Browse Popular Code Answers by Language