This. This is why I cannot bring myself to use #JavaScript. Regardless of how it's defined programming languages, to me, should above all be logical. This example is not. 🤦 twitter.com/kd2luw/status/…
@speakjava@facetimeJS I think you got weird results in every languages if you choose not to follow recommended practices. Here are some thoughts as to why the above code behaves like this: stackoverflow.com/questions/1724…