Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Do you not understand that it's not your code and that their code wants toString to be called?

Someone else is writing code that they want to have react to the console opening.

So they will intentionally force the call as soon as the console is open, as a result toString is called regardless of if you yourself have made a call to it.



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

Search: