prettier/tests/switch/comments.js

24 lines
209 B
JavaScript

switch (true) {
case true:
// Good luck getting here
case false:
}
switch (true) {
case true:
// Good luck getting here
case false:
}
switch(x) {
case x: {
}
// other
case y: {
}
}