Y
Hacker News
new
|
ask
|
show
|
jobs
by
jjjjjosh
4053 days ago
yeah, it's ES6 shorthand for `keyUp: function (event) {`; the new syntax is valid both in objects and class definitions.