Make Math Global
Object.getOwnPropertyNames(Math).forEach(i =&gt; window[i] = Math[i]);  // or with map, just to be...
Tags: javascript, math, hacks