javascript if number is divisible by 3 and 5 code example
Example: js check if number is divisible by 2
if (variable % 2 === 0) {
console.log("Even")
} else {
console.log("Odd")
}
if (variable % 2 === 0) {
console.log("Even")
} else {
console.log("Odd")
}