chensenlai 10988628a0 语音房项目初始化 | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.. | ||
index.js | %!s(int64=5) %!d(string=hai) anos | |
license | %!s(int64=5) %!d(string=hai) anos | |
package.json | %!s(int64=5) %!d(string=hai) anos | |
readme.md | %!s(int64=5) %!d(string=hai) anos |
ES6
Number.isFinite()
ponyfillPonyfill: A polyfill that doesn't overwrite the native method
$ npm install --save is-finite
var numIsFinite = require('is-finite');
numIsFinite(4);
//=> true
numIsFinite(Infinity);
//=> false
MIT © Sindre Sorhus