Skip to content

Commit 2abe375

Browse files
Add commas non-terminal properties
1 parent 405150f commit 2abe375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/04-object-basics/01-object/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ For instance:
215215
function makeUser(name, age) {
216216
return {
217217
name: name,
218-
age: age
218+
age: age,
219219
// ...other properties
220220
};
221221
}
@@ -233,7 +233,7 @@ function makeUser(name, age) {
233233
*!*
234234
return {
235235
name, // same as name: name
236-
age // same as age: age
236+
age, // same as age: age
237237
// ...
238238
};
239239
*/!*

0 commit comments

Comments
 (0)