結果 : add function to prototype javascript