# JavaScript Overview – Arrays

Within JavaScript, arrays are just like regular objects, but use numerical property names, as shown below.

Note: The length property is one plus the highest numbered element.

                var a = []; 	// Empty
    var b = [9.5, "Fred", true];
    var c = b[1];	// "Fred"
    var d = b["1"]// "Fred"
    var e = b[9]	// undefined
    b[3] = 2;	// adds 1 element
    b.newProperty = "hello"