結果 : js define function in object