const value = 'a'
switch (value) {
case 'a':
console.log('a')
var c = 4
break
case 'b':
console.log('b')
break
default:
return `Value ${value} not supported`
}
The image bellow shows case 'b': not properly highlighted.
The Syntax Theme is Monokai, but even with other themes the same happens.
Hint: if I remove the declaration var c = 4 the problem does not appear.
Consider the following code:
The image bellow shows
case 'b':
not properly highlighted.The Syntax Theme is Monokai, but even with other themes the same happens.
Hint: if I remove the declaration
var c = 4
the problem does not appear.