prettier/tests/if/comment_before_else.js

14 lines
135 B
JavaScript
Raw Normal View History

2018-04-05 21:53:41 +03:00
if (cond) {
stuff;
} /* comment */ else if (cond) {
stuff;
}
// comment
else {
stuff;
}
if (cond) stuff;
// comment
else stuff;