結果 : purpose of alert function in javascript