Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit dded240

Browse files
committed
Update README.md
1 parent 05b3fb3 commit dded240

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,16 @@ function createPerson(id, name) {
7777
createPerson(101, "John");
7878
createPerson(102, "Mary");
7979

80-
console.log("people", people); // {101: "John", 102: "Mary"}
80+
console.log(people); // logs: {101: "John", 102: "Mary"}
8181

8282
undoManager.undo();
83-
console.log("people", people); // {101: "John"}
83+
console.log(people); // logs: {101: "John"}
8484

8585
undoManager.undo();
86-
console.log("people", people); // {}
86+
console.log(people); // logs: {}
8787

8888
undoManager.redo();
89-
console.log("people", people); // {101: "John"}
89+
console.log(people); // logs: {101: "John"}
9090
```
9191

9292

0 commit comments

Comments
 (0)