let a = 3;

console.log(a %= 2);
// expected output: 1

console.log(a %= 0);
// expected output: NaN

console.log(a %= 'hello');
// expected output: NaN