News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by Etheryte on Saturday May 15, 2021 @01:16PM (#27167018)
As a standalone idea yes, however in practice this is not actually the case [0], mostly due to those methods having a number of extra checks, more functionality built into them etc.

[0] https://stackoverflow.com/q/21037888/1470607

Re:Modern Javascript: Everything you missed over the last 10... by rm_-rf_slash on Saturday May 15, 2021 @02:12PM (#27167527)
Fair point, although as the answer states, it depends on use cases. Working with small datasets the performance difference is negligible, but with decently large datasets (~1-100mb) and nested loops the delta is night and day.