2014-11-03 17:52:15 +11:00

10 lines
160 B
JavaScript

"use strict";
function add() {
var _this = this;
return [1, 2, 3].map(function (i) {
return i * _this.multiplier;
});
}
add.call({ multiplier: 5 });