2.0.0 • Published 3 years ago
hypot v2.0.0
hypot
ES2015
Math.hypot()
ponyfill
Install
$ npm install hypot
Usage
const hypot = require('hypot');
hypot(3, -4);
//=> 5
License
MIT © Sindre Sorhus
ES2015
Math.hypot()
ponyfill
$ npm install hypot
const hypot = require('hypot');
hypot(3, -4);
//=> 5
MIT © Sindre Sorhus