News for hackers. Stuff that matters.
Re:Deep Cloning Objects in JavaScript, the Modern Way by mishac on Monday December 25, 2023 @02:45PM (#38765491)
Unnecessary _now_ perhaps, but not unnecessary when lodash was written. In 2009, when underscore.js came out (from which lodash was a fork) Array.every() was not something you could rely on. Chrome just came out a year earlier (and didn't support Array.every until version 4) and half the world was on IE 6-7-8

There are no comments on this comment yet.