how to check if a number is divisible by 3 and 5 in javascript 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")
}