$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #64
What is the output?
console.log(-7 % 3);
-1
2
1
-2
JavaScript's remainder keeps the dividend's sign — the opposite of Python.
Play Problem Solving ▸
◂ #63
all Problem Solving — predict the output questions
#65 ▸