Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Aug 19, 2024
1 parent ceb1b73 commit 9679f13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/console/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ console.log(someObject);
```js
const car = "道奇战马";
const someObject = { str: "一些文本", id: 5 };
console.info("我的第一量车是", car, "。该对象为:", someObject);
console.info("我的第一辆车是", car, "。该对象为:", someObject);
```

打印结果类似下面:

```plain
我的第一量车是 道奇战马。该对象为: {str:"一些文本", id:5}
我的第一辆车是 道奇战马。该对象为: {str:"一些文本", id:5}
```

#### 使用字符串替换
Expand Down

0 comments on commit 9679f13

Please sign in to comment.