結果 : if and else syntax in javascript