Using Arrays (integer, index, associative array)

9. Summary and References

Summary:


          In summary, just like a string, arrays can also be manipulated. You can access, add, delete and update its element. There are methods in arrays that can be used to do this such as pop(), push(), shift(), unshift() and splice(). You can also count the number of elements by using the array property length. Take note that arrays use a number index while an object uses a named index. However, arrays are considered as a special type object.


References:

Associative Array in JavaScript. (n.d.). Retrieved March 9, 2021, from https://www.xul.fr/javascript/associative.php

JavaScript Arrays. (n.d.). Retrieved March 9, 2021, from https://www.w3schools.com/js/js_arrays.asp

on, L. F. (n.d.). Work with JavaScript arrays like a boss | Hacker Noon. Retrieved March 9, 2021, from https://hackernoon.com/work-with-javascript-arrays-like-a-boss-97207a042e42

Property Accessors. (n.d.). Retrieved March 22, 2021, from https://developer.mozilla.org/enUS/docs/Web/JavaScript/Reference/Operators/Property_accessors