結果 : simple if statement javascript