Array References

 let arr=["a","b","c"];

 let arrcopy=arr;

 arrcopy.push("d");
 arrcopy.pop();

 let arrcopy2=["a","b","c"];
 arrcopy2.push("d");
 arrcopy2.pop();

Comments

Popular posts from this blog

Callback Hell

TODO list with DOM

Refactoring callback hell code