結果 : how to call function inside object javascript