Python Array Get Function Hashmap Javascript W3schools