結果 : how to pass callback function in javascript