【文件属性】:
文件名称:hypot:ES2015 Math.hypot()ponyfill
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-01 07:43:14
JavaScript
不推荐使用,因为现在所有现代浏览器和Node.js版本都可以使用此功能。
虚伪
ES2015
安装
$ npm install hypot
用法
const hypot = require ( 'hypot' ) ;
hypot ( 3 , - 4 ) ;
//=> 5
执照
麻省理工学院:copyright:
【文件预览】:
hypot-main
----.gitignore(23B)
----.github()
--------workflows()
----.gitattributes(29B)
----package.json(552B)
----readme.md(438B)
----index.js(266B)
----test.js(844B)
----.editorconfig(175B)
----license(1KB)
----.npmrc(19B)