Basic for loops:<p><pre><code>    for(x in 0 ... 5) {
        &#x2F;&#x2F; increment by +1 only
    }
</code></pre>
More verbose JSON:<p><pre><code>    var t = Json.parse(&quot;{ x: 1 }&quot;);
    var tx = t.x; &#x2F;&#x2F; just might be undefined
    &#x2F;&#x2F; vs working
    var tx2 = Reflect.getProperty(t, &quot;x&quot;) 
</code></pre>
Tricky array sorts:<p><pre><code>    myArr.sort(function(a, b) {
        &#x2F;&#x2F; just might crash
    });

    &#x2F;&#x2F; vs stable
    haxe.ds.ArraySort.sort(myArr, function(a, b) {
    });
</code></pre>
More verbose everything:<p><pre><code>    var v1 = 0;
    var v2 = 0;
    var v3 = 0;
    
    var v4 = function(a, b) {
        &#x2F;&#x2F; also no &#x27;arguments&#x27;, that&#x27;s more verbose too
    };
</code></pre>
Different syntax for familiar libs (if supported):<p><pre><code>    https:&#x2F;&#x2F;github.com&#x2F;andyli&#x2F;jQueryExternForHaxe

    new JQuery(&quot;li&quot;).hide(); &#x2F;&#x2F; $(&quot;li&quot;).hide()
</code></pre>
If you&#x27;re not targeting JS your HTTP requests are probably going to be synchronous and block the main thread.<p>If your target is only JavaScript &#x2F; NodeJS you can get a lot of the benefits of Haxe by using TypeScript, with a much larger ecosystem to help you achieve your goals quickly.