I have assigned 90071992547419999992 to a const variable 'a' and I'm trying to console its value. The compiler shows 90071992547420000000 as the answer. Why is the number getting rounded? Can anyone explain how overflow is handled in javascript?
const a = 90071992547419999992;
console.log(a);
console.log(typeof a);