We need to call the `skipToLineEnd` which skips `,` after an inline comment. So we have to put it inside of the while loop as you can have many comments, a comma and then many more comments. Fixes #964
7 lines
84 B
JavaScript
7 lines
84 B
JavaScript
const foo = {
|
|
a: 'a' /* comment for this line */,
|
|
|
|
/* Section B */
|
|
b: 'b',
|
|
};
|