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)




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

Search: