結果 : javascript declare function inside object