We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85796a0 commit 02c1074Copy full SHA for 02c1074
docs/features/console.md
@@ -288,7 +288,7 @@ console.assert(false, '判断条件不成立')
288
289
// 相当于
290
try {
291
- if (false) {
+ if (!false) {
292
throw new Error('判断条件不成立');
293
}
294
} catch(e) {
@@ -333,8 +333,8 @@ console.log('一级分组的内容');
333
console.group('二级分组');
334
console.log('二级分组的内容');
335
336
-console.groupEnd(); // 一级分组结束
337
console.groupEnd(); // 二级分组结束
+console.groupEnd(); // 一级分组结束
338
```
339
340
上面代码会将“二级分组”显示在“一级分组”内部,并且“一级分组”和“二级分组”前面都有一个折叠符号,可以用来折叠本级的内容。
0 commit comments