結果 : how to invoke function in javascript