Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
whiskypeters
· 11y ago · 0 comments
class is a reserved word in javascript
Comments
[–]
pluma
11y ago
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.