What Does Javascript Map Function Get Index