Try this out in node<p>function createObject() { this.x = 3; return this; }<p>obj = createObj();<p>if (obj.misspeld_props == 3) {<p>&#x2F;&#x2F; never executes, nor cause a crash<p>}<p>I hope I made my point clear. Creating large code base with such properties is a pain. This does not happen in python, or any other language. What are your thoughts.
Ask HN: Why I hate JavaScript