My understanding is ES6 Map object can implement a Hashmap in Javascript. Am I right? However, indexOf method in
ES6 Map
Hashmap
indexOf