This commit is contained in:
qianguyihao 2021-05-23 23:14:39 +08:00
parent e88d67cef1
commit cf58b3a10c

View File

@ -125,8 +125,8 @@ obj
代码举例 代码举例
```js ```js
const name = '许嵩'; var name = '许嵩';
const obj = { var obj = {
name: '千古壹号', name: '千古壹号',
sayHello: () => { sayHello: () => {
console.log(this.name); console.log(this.name);