Find if variable is divisible by 2 November 17, 2022 by Tarik Use modulus: // Will evaluate to true if the variable is divisible by 2 variable % 2 === 0