Skip to content

Commit

Permalink
Update Object.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yihan12 authored Dec 14, 2023
1 parent 15b9af9 commit a82f0c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion javascript/Data Types/Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@

### 创建对象
```javascript

const o = new Object();
o.foo = 42;

console.log(o);
// { foo: 42 }
```

### 对象删除
Expand Down

0 comments on commit a82f0c8

Please sign in to comment.