結果 : add method to class prototype javascript