forEach ( function (friend) { // (1) console.log(this.name+' knows '+friend); // (2) } ); } }; This fails, because the function at (1) has its own this, ...
確定! 回上一頁