Definition: At one stage it was planned that specific data types would be introduced into the Javascript language. float is one the data types that would have been able to be explicitly defined. To allow for this float was a reserved word. The plan to allow specific data types in Javascript no longer exists and float is therefore no longer on the reserved word list in the latest standards. Since many people still use earlier browsers where this was defined as a reserved word you should avoid using it.

