Skip to content

Commit f57b1b8

Browse files
committed
chore: Add some questions
1 parent 6b28772 commit f57b1b8

20 files changed

Lines changed: 15960 additions & 125 deletions

public/questions/algorithm.json

Lines changed: 619 additions & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

public/questions/css.json

Lines changed: 660 additions & 32 deletions
Large diffs are not rendered by default.

public/questions/js.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,5 +585,3 @@
585585
"source": "高频"
586586
}
587587
]
588-
"question": "var、let、const 有什么区别?",
589-
"answer": "## var、let、const 的区别\n\n### 1. 作用域\n- `var`:函数作用域,在函数外声明则为全局变量\n- `let`/`const`:块级作用域,只在 `{}` 内有效\n\n### 2. 变量提升\n- `var` 存在变量提升,声明会提升到函数顶部,值为 `undefined`\n- `let`/`const` 存在「暂时性死区(TDZ)」,声明前访问会报 `ReferenceError`\n\n### 3. 重复声明\n- `var` 允许重复声明\n- `let`/`const` 不允许在

public/questions/network.json

Lines changed: 531 additions & 39 deletions
Large diffs are not rendered by default.

public/questions/network.json.bak_20260309_001918

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.

public/questions/perf.json

Lines changed: 375 additions & 41 deletions
Large diffs are not rendered by default.

public/questions/perf.json.bak_20260309_002133

Lines changed: 358 additions & 0 deletions
Large diffs are not rendered by default.

public/questions/performance.json

Lines changed: 692 additions & 1 deletion
Large diffs are not rendered by default.

public/questions/typescript.json

Lines changed: 740 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)