Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
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
;
};