Commit 4a73735
committed
Use {} instead of () for object construction.
Sometimes it is difficult to distinguish between
a function call and object construction. It is better
to use {} for object construction for this reason.1 parent 73bc74a commit 4a73735
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments