Javascript Array Map
Javascript Array Map
How to use the JavaScript Array map API
If you are asking why one of the values in the string concatenation is (jediIndex + 1) , that's because indices are 0-based, we would get 0, 1, ...
Javascript Array Map