Why in JS 1000000000000000000000000000001%10 equals to 6?
I try it with calculator, it shows that mod is equal to 1.
I couldn't find any information on the Web. So could someone answer for this question?
console.log(1000000000000000000000000000001 % 10);