結果 : set variable in if statement javascript