Let’s Play With structuredClone()
Something that I’ve been looking forward to using post Node 16 is structuredClone(). It’s been available in browser for a little while and was introduced in Node version 17.0.0, it’s an answer to the lack of a decent way to clone objects in JavaScript. Making a shallow clone of an Read more…