less than or equal to 0 javascript code example
Example: less Than Or Equal To Zero javascript
function lessThanOrEqualToZero(num) {
let lessThanZero;
if ( num <= 0) {
result = true;
} else {
result = false;
}
return result;
}