Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
336 bytes
|
Line | |
---|
1 | var global = require('../internals/global');
|
---|
2 |
|
---|
3 | var globalIsFinite = global.isFinite;
|
---|
4 |
|
---|
5 | // `Number.isFinite` method
|
---|
6 | // https://tc39.es/ecma262/#sec-number.isfinite
|
---|
7 | // eslint-disable-next-line es/no-number-isfinite -- safe
|
---|
8 | module.exports = Number.isFinite || function isFinite(it) {
|
---|
9 | return typeof it == 'number' && globalIsFinite(it);
|
---|
10 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.