score:2

Accepted answer

Math is an instance of Object so I think you mean to assign directly to that instance, ie.

Math.eps=1e-16;

Assigning to it's prototype is assigning to Object which can understandably cause side effects.


Related Query

More Query from same tag