I've always wondered if JS engines could rewrite those array functions at compile time, like this: https://github.com/SomeRanDev/Haxe-MagicArrayTools
Though, it probably wouldn't work if user code modified the Array prototype.
I've always wondered if JS engines could rewrite those array functions at compile time, like this: https://github.com/SomeRanDev/Haxe-MagicArrayTools
Though, it probably wouldn't work if user code modified the Array prototype.