Better HN
topnewbestaskshowjobs
Log inSign up

oklahoma

12 karma · joined Jan 6, 2019 (7y ago) · 2 submissions

Submissions

comment 7y ago · link · parent

Haha, kids are what gives your life purpose. Next time you blink you'll be over the hill and having a great time with your grandchildren! I wasted my youth, don't waste yours. If I could go back to 23!!! :)

comment 7y ago · link · parent

You don't have to bind 'method' in the constructor to access 'y'. Just put 'this.y = 10;' in the constructor. Your example isn't legal JavaScript.