Skip to content
RED SAG Skills
mediumStudy question · answer published in Java interview questions, so no pointsmathinteger-arithmetic

C-style integer division in JS

In C and Java, -7 / 2 with integers gives -3. Which JavaScript expression gives the same result?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions