Skip to content

Commit 31d0882

Browse files
authored
Update README.md
more comment on 136
1 parent 782c68d commit 31d0882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,7 @@
27972797
object.key3 = "value3";
27982798
```
27992799
2800-
2. **Using square bracket notation:** This solution is useful when the name of the property is dynamically determined.
2800+
2. **Using square bracket notation:** This solution is useful when the name of the property is dynamically determined or the key's name is non-JS like "user-name"
28012801
28022802
```javascript
28032803
obj["key3"] = "value3";

0 commit comments

Comments
 (0)