Beginner
How to Write Basic If-Else Statements in JavaScript for Comparison Operations
If statements in JavaScript
1let x = 10;2let y = 5;34if (x > y) {5 console.log("Higher");6} else {7 console.log("Lower");8}
If statements in JavaScript
1let x = 10;2let y = 5;34if (x > y) {5 console.log("Higher");6} else {7 console.log("Lower");8}