You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1456,18 +1454,16 @@ if (!Math['clz32']) Math['clz32'] = function(x) {
1456
1454
y=x>>1;if(y)returnn-2;
1457
1455
returnn-x;
1458
1456
};
1459
-
Math.clz32=Math['clz32']
1460
1457
1461
-
if(!Math['trunc'])Math['trunc']=function(x){
1458
+
if(!Math.trunc)Math.trunc=function(x){
1462
1459
returnx<0 ? Math.ceil(x) : Math.floor(x);
1463
1460
};
1464
-
Math.trunc=Math['trunc'];
1465
1461
#else // POLYFILL_OLD_MATH_FUNCTIONS
1466
1462
#if ASSERTIONS
1467
-
assert(Math['imul'],'This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill');
1468
-
assert(Math['fround'],'This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill');
1469
-
assert(Math['clz32'],'This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill');
1470
-
assert(Math['trunc'],'This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill');
1463
+
assert(Math.imul,'This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill');
1464
+
assert(Math.fround,'This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill');
1465
+
assert(Math.clz32,'This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill');
1466
+
assert(Math.trunc,'This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill');
0 commit comments