當函式成為一個物件內的屬性時,就可以稱該函式為一個方法method,呼叫的語法像是 ... var dish = '黃金開口笑' function order() { console.log (this.dish) } let ...
確定! 回上一頁