Hacker News new | past | comments | ask | show | jobs | submit login

You can also call a constructor passing no arguments without the parens. `var x = new Foo`



Although this is possible, most linters don’t allow it (with default settings on)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: