看板 Ajax 關於我們 聯絡資訊
我現在有一個 function foo { // do something } 我現在寫一個 class bar { // something } 我想讓 bar.prototype = foo; 我該怎麼把我樣怎麼讓這個語句寫在class內 求解 <(_ _)> -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 125.230.75.222 ※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1453562260.A.1EE.html
mmis1000: Object.setPrototypeOf() <- google他 01/24 00:53
Sorry 遲遲沒有回 感謝你的回復~~ ※ 編輯: qas612820704 (61.216.33.201), 01/28/2016 12:38:36