Skip to content

Commit

Permalink
Merge pull request airbnb#332 from tomekwi/patch-5
Browse files Browse the repository at this point in the history
Allow reserved words as keys in ES6 module context
  • Loading branch information
hshoff committed Jun 25, 2015
2 parents 38d2282 + ee89999 commit 10f6d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@
const item = {};
```
- [3.2](#3.2) <a name='3.2'></a> Don't use [reserved words](http://es5.github.io/#x7.6.1) as keys. It won't work in IE8. [More info](https://github.com/airbnb/javascript/issues/61).
- [3.2](#3.2) <a name='3.2'></a> If your code will be executed in browsers in script context, don't use [reserved words](http://es5.github.io/#x7.6.1) as keys. It won't work in IE8. [More info](https://github.com/airbnb/javascript/issues/61). It’s OK to use them in ES6 modules and server-side code.

```javascript
// bad

0 comments on commit 10f6d6a

Please sign in to comment.