In a switch, if we write any word or single letter instead of default it does not throw an error. e.g.
switch
default
switch(10) { case 1: break; hello: break; }
It runs without throwing an error.
Can anyone explain how this works?