Get First Index Of Array Javascript Mdn Map To Set