Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
insin
· 11y ago · 0 comments
It's ES6 shorthand literal syntax [1], equivalent to:
module.exports = { route: route, routes: routes };
[1]
http://ariya.ofilabs.com/2013/02/es6-and-object-literal-prop...
Comments
[–]
rheng
11y ago
That explains a lot. Thank you!