this, , this , , this , .
this, , this , this .
,
, this( , undefined , , " " ..). - .
....
Arrow
for .
for ES2015, , for , ( var) .
, ES2015 , , for (for (what) {block}), , let const ( ).
,
var o = {
nums : [1,2,3,4],
fn : function() {
var self = this;
this.nums.forEach(function(v) {
});
this.nums.forEach((v) => {
});
for (var i=0; i<this.nums.length; i++) {
}
}
}
o.fn();