Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I think there should be typeof predefined[v] !== 'boolean' instead of…
… "predefined[v] !== 'boolean'" because predefined is a has with boolean values :) Actually there is no need to check the type, better way is just "predefined[v] !== true"
- Loading branch information
a1c2a4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then you don't have to test for
predefined[v] !== true
, but could just use!predefined[v]
a1c2a4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but it is not explicitly and conflicts with jslint ideas.