結果 : branching and looping statement in javascript