Several bug fixes.

This commit is contained in:
krahets
2023-10-09 01:06:26 +08:00
parent b85deae275
commit c098bcdde4
3 changed files with 3 additions and 3 deletions

View File

@@ -168,7 +168,7 @@
```javascript title="hash_map.js"
/* 初始化哈希表 */
const map = new ArrayHashMap();
const map = new Map();
/* 添加操作 */
// 在哈希表中添加键值对 (key, value)
map.set(12836, '小哈');