結果 : nested if in javascript w3schools