new if else syntax javascript code example
Example: function if else javascript
function lessThan100(a, b) {
let sum;
if (a + b >= 100) {
result = false;
} else {
result = true;
}
return result;
}
function lessThan100(a, b) {
let sum;
if (a + b >= 100) {
result = false;
} else {
result = true;
}
return result;
}