Skip to content
RED SAG Skills
mediumStudy question · answer published in Node.js interview questions, so no pointsnodejsapi-designdebugging

A 64-bit id changes after parsing

An upstream service sends a 64-bit numeric id. What does this Node.js code print?

const body = '{"id": 9007199254740993}'
console.log(JSON.parse(body).id)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions