The map method is a method that code example Example: map method var yourArray= yourArray.map(Number);