Sign in
cobalt
/
cobalt
/
4db9f13a160f367210321ab353f1fd251699bffb
/
.
/
third_party
/
devtools
/
node_modules
/
es-abstract
/
helpers
/
isFinite.js
blob: 9e7cd4f82f3d7a4b8f22397a54a4c6c38514ae8b [
file
] [
log
] [
blame
]
'use strict'
;
var
$isNaN
=
Number
.
isNaN
||
function
(
a
)
{
return
a
!==
a
;
};
module
.
exports
=
Number
.
isFinite
||
function
(
x
)
{
return
typeof
x
===
'number'
&&
!
$isNaN
(
x
)
&&
x
!==
Infinity
&&
x
!==
-
Infinity
;
};