Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 378 Bytes

ex_137.md

File metadata and controls

15 lines (13 loc) · 378 Bytes

Exercise 137

  • Create a new index137.js file
  • Define a numbers array with values between 1 and 1000
  • Iterate over each numbers item using map and increment the value in 10
If value is 1 then it should be 11
If value is 2 then it should be 12
and so on..
  • Show the following output for each element:
index: 1, original number: 1, incremented value: 11