the JavaScript interpreter will identify the need for the weekDays array to now have seven elements, of which the 5th contains the String "Friday" and the
Creating Using Arrays • Arrays are a type of object that are ordered by the index of each item it contains • The index starts at zero and extends to
Find folder on your machine using 'Finder' (Mac) or 'Windows Explorer' (PC) Can assign variables any value – including arrays, objects, functions
JavaScript defines objects that encapsulate both data and processing Literal arrays can be specified using square brackets to include a list of elements
You can define your StringBuilder object with a buffer array property to store the strings to concatenate Then add an Append method to add a string to the
JavaScript: Overview of JavaScript, Object Orientation and JavaScript, General Syntactic Characteristics- JavaScript includes predefined objects
custom-built JavaScript objects and their properties and methods To add them as individual items in a single property, use an array:
object string It can take a limit count so that it won't include trailing empty elements in the resulting array If you specify
Any value in JavaScript that is not a string, a number, true, false, null, or undefined is an Additional items to add to the end of the current array
key3 = 'hello'; //OK to add fields ○ Object/Array variables are references (Java-like?) ○ Arrays are objects (verify with typeof)