2014-10-25 09:09:55 +11:00

13 lines
162 B
JavaScript

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