kaffeine
kaffeine copied to clipboard
Switch/Case bug
This:
switch(1) {
case 'a': console.log('..');
}```
Gives this error:
>> Error: Unexpected token: punc ({) (line: 0, col: 19, pos: 19)
Obviously, this is not real code. It was taken from a bigger file but I've tried to isolate the problem. Thanks!