Another test article..
Published
•1 min readSearch for a command to run...
No comments yet. Be the first to comment.
I recently learned this method: Copying a JavaScript Object const source = { a: 1, b: 2 }; const copy = Object.assign({}, source); Copying a JavaScript Array const arr = [0,2,3,4,5]; const arrCopy = arr.slice(0); These two functions come handy when y...
Hello Hashnode...