Java Array Get Index Of Object Javascript Mdn Map Js W3schools