get number of elements in hashmap javascript code example Example: get number of elements in hashmap javascript Object.keys(hash_table).length