Skip to content

Commit

Permalink
isFinite
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Nov 6, 2017
1 parent 07ad997 commit a66fc63
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions jslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,11 @@ var jslint = (function JSLint() {
"decodeURIComponent", "encodeURI", "encodeURIComponent", "Error",
"EvalError", "Float32Array", "Float64Array", "Generator",
"GeneratorFunction", "Int8Array", "Int16Array", "Int32Array", "Intl",
"isFinite", "JSON", "Map", "Math", "Number", "Object", "parseInt",
"parseFloat", "Promise", "Proxy", "RangeError", "ReferenceError",
"Reflect", "RegExp", "Set", "String", "Symbol", "SyntaxError", "System",
"TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array",
"Uint32Array", "URIError", "WeakMap", "WeakSet"
"JSON", "Map", "Math", "Number", "Object", "parseInt", "parseFloat",
"Promise", "Proxy", "RangeError", "ReferenceError", "Reflect", "RegExp",
"Set", "String", "Symbol", "SyntaxError", "System", "TypeError",
"Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array",
"URIError", "WeakMap", "WeakSet"
];

var bundle = {
Expand Down Expand Up @@ -2451,14 +2451,14 @@ var jslint = (function JSLint() {
return token;
});
constant("Infinity", "number", Infinity);
constant("isNaN", "function", function () {
warn("number_isNaN", token);
return token;
});
constant("isFinite", "function", function () {
warn("expected_a_b", token, "Number.isFinite", "isFinite");
return token;
});
constant("isNaN", "function", function () {
warn("number_isNaN", token);
return token;
});
constant("NaN", "number", NaN);
constant("null", "null", null);
constant("this", "object", function () {
Expand Down

0 comments on commit a66fc63

Please sign in to comment.