結果 : nested if else questions in javascript