The reason is because you only set up your array to hold 3 items. When you typed a 3 instead of a 2 you were trying to access item number 4 (0 to 3, remember). But you haven't defined a fourth item. Even though you haven't got a fourth item, Javascript doesn't throw you up an error, it doesn't refuse to work.
Refactoring. Refactoring is the process of clarifying and simplifying the design of existing code, without changing its behavior.Agile teams are maintaining and extending their code a lot from iteration to iteration, and without continuous refactoring, this is hard to do. This is because un-refactored code tends to rot.efactoring is the process of clarifying and simplifying the design of existing code, without changing its behavior. Agile teams are maintaining and extending their code a lot from iteration to iteration, and without continuous refactoring, this is hard to do.
De novo. Definition. ââadverb & adjective. (1) Anew; afresh; beginning again; from the start. (2) New; not present previously; just beginning. Supplement. The term ââde novoââ is often italicized when written to indicate that it is a Latin phrase.An example of its usage is: 1  biochemistry : ââde novoââ synthesis of a complex molecule, which refers to the biochemical pathway where a complex biomolecule is synthesized anew from simple molecules.2  bioinformatics : ââde novoââ peptide sequencing, a form of sequencing.e novo. Definition. ââadverb & adjective. (1) Anew; afresh; beginning again; from the start. (2) New; not present previously; just beginning. Supplement. The term ââde novoââ is often italicized when written to indicate that it is a Latin phrase.