jshint/jshint — Issue #309: Reserved words
Author: scriby
Created: 2011-10-14 22:14:46+00:00
State: open

It seems like jshint is not checking for reserved words in variable names and function names.

For instance, this code passes jshint:

```javascript
var x = { default: 3 };
x.delete = 3;
x.default = 5;
var export = 'test';

x.prototype.delete = function(){

};
```

Is jshint supposed to check for reserved words? Might some combination of settings be preventing it from working correctly.

The reason we care about this is that code that refers to a reserved word breaks the parser on iPad, iPhone, Android, etc.