Lab #27 JavaScript References
Lab #27 is titled "JavaScript References". In this lab, there is really no HTML or CSS to create anything. JavaScript is the only language used in this lab. Console may not really speak accurately, but in this lab, I learned to use a copy instead of an array reference when trying to rewrite an array if needed. With a copy, you can just update it and the original array stays untouched. This also applies to objects which can also be copied instead of referencing it.
Check the JavaScript within my webpage.
Web designers can use copies instead of references for both arrays and objects so they don't cause any problems within their code that modifies the original array/object in any way, shape or form. It can allow for them to be more secure and safe with their own data.
Check the JavaScript within my webpage.
Web designers can use copies instead of references for both arrays and objects so they don't cause any problems within their code that modifies the original array/object in any way, shape or form. It can allow for them to be more secure and safe with their own data.

Comments
Post a Comment