summaryrefslogtreecommitdiff
path: root/node_modules/core-js/library/modules/es6.math.asinh.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/library/modules/es6.math.asinh.js')
-rw-r--r--node_modules/core-js/library/modules/es6.math.asinh.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/node_modules/core-js/library/modules/es6.math.asinh.js b/node_modules/core-js/library/modules/es6.math.asinh.js
index e6a74abb5..bd34adf01 100644
--- a/node_modules/core-js/library/modules/es6.math.asinh.js
+++ b/node_modules/core-js/library/modules/es6.math.asinh.js
@@ -1,10 +1,8 @@
// 20.2.2.5 Math.asinh(x)
-var $export = require('./_export')
- , $asinh = Math.asinh;
+var $export = require('./$.export');
function asinh(x){
return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
}
-// Tor Browser bug: Math.asinh(0) -> -0
-$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh}); \ No newline at end of file
+$export($export.S, 'Math', {asinh: asinh}); \ No newline at end of file