Hacker News new | ask | show | jobs
by whiskypeters 3916 days ago
class is a reserved word in javascript
1 comments

Technically it's no longer just reserved in ES6, it has an actual use. But starting with ES5 it's generally not a problem to use keywords as property names.