Tried searching online why it does this. I tried changing the redix of the parseInt method but it doesn't seem to change anything as well.
var sum = [6, 1, 4, 5, 3, 9, 0, 1, 9, 5, 1, 8, 6, 7, 0, 5, 5, 4, 3]
// digits.length returns 19
var wholeNumber = sum.join("")
var makeNum = parseInt(wholeNumber)
console.log(wholeNumber) // returns string: 6145390195186705543
console.log(makeNum); // returns int: 6145390195186705000
Can anyone explain why makeNum does not return me the integer of wholeNumber but rather replaces the last 3 digits at the back with zeroes. I t