Hacker News new | ask | show | jobs
by Altern4tiveAcc 7 days ago
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.