2014-11-23 16:15:39 +11:00

11 lines
161 B
JavaScript

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