3 ms·
Might be a good idea to use a polyfill (like core-js) to ensure the api exists. On modern browsers it would just use the native impl. Not much to gain though.
by eknkc 10y ago
Might be a good idea to use a polyfill (like core-js) to ensure the api exists. On modern browsers it would just use the native impl.
Not much to gain though. Just importing lodash works fine.
- shados 10y agocore-js is the truck factor single point of failure of modern JS development. There's not many good alternative (there's a lot of alternative, but none that are as comprehensive), essentially has ONE person really working on it (and threatening to stop imminently), and the code is unreadable, so hopping into it once said maintainer goes poof will be tricky. We still depend on it (no great alternative), but it's a ticking time bomb IMO.