Tema 7

The global JavaScript function parseInt() converts strings to numbers:


A number divided by a non-numeric string becomes NaN (Not a Number):

Array

JavaScript array elements are accessed using numeric indexes (starting from 0).

Array.forEach() calls a function for each array element.

Popping items out of an array, or pushing items into an array.

The concat() method is used to merge (concatenate) arrays:

JavaScript Array.map()

JavaScript Index Array