hypot
ES2015
Math.hypot()
ponyfill
Install
$ npm install hypot
Usage
const hypot = require('hypot');
hypot(3, -4);
//=> 5
License
MIT © Sindre Sorhus
This package has been deprecated
Author message:
Deprecated
ES2015
Math.hypot()
ponyfill
$ npm install hypot
const hypot = require('hypot');
hypot(3, -4);
//=> 5
MIT © Sindre Sorhus
npm i hypot
2
2.0.0
MIT
2.27 kB
4