結果 : declare function in object javascript