jshint/jshint — Issue #460: Missing Reserved Words?
Author: Akkuma
Created: 2012-02-14 18:07:46+00:00
State: open

I tested out whether float would be picked up as a reserved word and it does not seem to be. An extensive list of them is available here: http://mattsnider.com/languages/javascript/reserved-words-in-javascript/

The reason I'd like float to be picked up is that YUI Compressor will throw an error and I'd like to prevent it from getting to that stage. Perhaps there needs to be a flag for words that were reserved, but really have no plans to be used moving forward.