source: trip-planner-front/node_modules/core-js/internals/number-is-finite.js@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 336 bytes
Line 
1var global = require('../internals/global');
2
3var 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
8module.exports = Number.isFinite || function isFinite(it) {
9 return typeof it == 'number' && globalIsFinite(it);
10};
Note: See TracBrowser for help on using the repository browser.