FrontendInterviews.dev

682. Number.isInteger Edge Case

Easy•

Predict the output.

console.log(Number.isInteger(2.0), Number.isInteger(2.1))

What is printed in the console?

Select an option and submit your answer.
Next Problem