Sage Advice About javascript dynamic array From a Five-Year-Old

a JavaScript array is a way to create a dynamic array. For instance, if you have a user’s name, you can create a JavaScript array that has that user’s name as a key and a list of all the users as a value.

Every time a user visits a page, he or she must have an array of users that he or she knows about. This may be the user id that users get from the browser, the user’s name, or the user’s age, if he or she has an array of users. In the most recent browsers, your browser’s JavaScript array is loaded before the page is loaded.

Leave a comment