| | |
| | | var $ = require('../internals/export'); |
| | | |
| | | // eslint-disable-next-line es/no-math-hypot -- required for testing |
| | | // eslint-disable-next-line es-x/no-math-hypot -- required for testing |
| | | var $hypot = Math.hypot; |
| | | var abs = Math.abs; |
| | | var sqrt = Math.sqrt; |
| | |
| | | |
| | | // `Math.hypot` method |
| | | // https://tc39.es/ecma262/#sec-math.hypot |
| | | $({ target: 'Math', stat: true, forced: BUGGY }, { |
| | | $({ target: 'Math', stat: true, arity: 2, forced: BUGGY }, { |
| | | // eslint-disable-next-line no-unused-vars -- required for `.length` |
| | | hypot: function hypot(value1, value2) { |
| | | var sum = 0; |