Better HN
topnewbestaskshowjobs
Log inSign up

rtht

1 karma · joined Jun 27, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

I think properties should allow direct constructor assignment. I think it looks better than strings.

props: { name: String, age: Number }