Replace ``js with ``javascript

This commit is contained in:
krahets
2023-02-08 04:27:55 +08:00
parent 0407cc720c
commit 22b7d65d20
27 changed files with 127 additions and 92 deletions

View File

@ -131,7 +131,7 @@ comments: true
=== "JavaScript"
```js title="hash_map.js"
```javascript title="hash_map.js"
/* 初始化哈希表 */
const map = new ArrayHashMap();
/* 添加操作 */
@ -309,7 +309,7 @@ comments: true
=== "JavaScript"
```js title="hash_map.js"
```javascript title="hash_map.js"
/* 遍历哈希表 */
// 遍历键值对 key->value
for (const entry of map.entries()) {
@ -490,7 +490,7 @@ $$
=== "JavaScript"
```js title="array_hash_map.js"
```javascript title="array_hash_map.js"
/* 键值对 Number -> String */
class Entry {
constructor(key, val) {