closed as too broad by gnat, Ixrec, Scant Roger, user22815, user40980 Dec 14 '15 at 4:07
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
0. But, the
.length property is always measured from index
var array = ; array = "Hello"; array = "Goodbye"; console.log(array.length); // 10 console.log(array); // [3: "Hello", 9: "Goodbye"] console.log(array); // undefined
Is it necessary to mention zero-indexed array?