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
+2 -2
View File
@@ -66,7 +66,7 @@ comments: true
=== "JavaScript"
```js title="binary_tree_bfs.js"
```javascript title="binary_tree_bfs.js"
/* 层序遍历 */
function hierOrder(root) {
// 初始化队列,加入根结点
@@ -257,7 +257,7 @@ comments: true
=== "JavaScript"
```js title="binary_tree_dfs.js"
```javascript title="binary_tree_dfs.js"
/* 前序遍历 */
function preOrder(root){
if (root === null) return;