結果 : the switch statement in javascript is used for looping through data