js iff code example
Example 1: javascript if
const number = (Math.random() - 2.5) * 5;
if (number < 0) {
console.log('Number is negative');
}
if (number = 0) {
console.log('Number is zero');
}
if (number > 0) {
console.log('Number is positive');
}
Example 2: javascript if
if (32 == 32) {
console.log('32 is equil to 32!');
}