Commit 17a5f24
authored
Remove redundant object from Object.assign example
In the "good" `Object.assign` example, the initial new object is redundant as the defaults are also specified in a new object.
This is a bit pedantic, and doesn't change the semantics of the example, just removes an unnecessary object creation.1 parent d00ca4c commit 17a5f24
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| |||
0 commit comments