Posts for copy

Different methods of copying objects in Javascript

In this article, you will learn different methods to copy an object in Javascript. It is no news that JavaScript —which happens to be my favorite programming language possesses some weirdness. One of which is the way objects are copied. Take a look the following code snippet: let name = ‘james’ let secondName = name; […]

November 7, 2019 in Javascript & Tutorials