Hello,
I have errors with this code :
let game = (mode) => {
swith (mode) {
case 'none':
mode_none();
break;
case 'multi':
mode_multi();
break;
case 'single':
mode_single();
break;
default:
return null;
}
}
It’s weird since i don’t find any syntax error but VScode highlight differents parts like the first bracket after “switch (mode)” and every “case” and also every " : "