結果 : example of impure function in javascript