Merge pull request #1774 from duongdominhchau/patch-1

Add commas after non-terminal properties
This commit is contained in:
Ilya Kantor 2020-03-21 09:13:36 +03:00 committed by GitHub
commit d9d2127a3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -215,7 +215,7 @@ For instance:
function makeUser(name, age) { function makeUser(name, age) {
return { return {
name: name, name: name,
age: age age: age,
// ...other properties // ...other properties
}; };
} }
@ -233,7 +233,7 @@ function makeUser(name, age) {
*!* *!*
return { return {
name, // same as name: name name, // same as name: name
age // same as age: age age, // same as age: age
// ... // ...
}; };
*/!* */!*