結果 : javascript invoke function passed as parameter