結果 : how to invoke function in js