Jan
25
With this message, JSLint is warning you of a potentially hazardous use of the decimal point. The following code will yield this error:
alert(.2);
Here. JSLint is picking out conventions that may be indicitive of some other problem in your code. It is also not making the assumption that every single JavaScript interpreter will handle this code correctly.
This is closely related to the message A trailing decimal point can be confused with a dot ‘{a}’
A Guide To JSLint Messages
This article is one of a series on the error and warning messages produced by JSLint.
[...] This is closely related to the message A leading decimal point can be confused with a dot ‘.{a}’ [...]
[...] start with an uppercase letter. A dot following a number can be confused with a decimal point. A leading decimal point can be confused with a dot ‘.{a}’. A trailing decimal point can be confused with a dot ‘{a}’. Adsafe restricted word [...]