my-idlers/node_modules/es5-ext/test/function/#/spread.js

6 lines
166 B
JavaScript
Raw Normal View History

"use strict";
var f = function (a, b) { return this[a] + this[b]; }, o = { a: 3, b: 4 };
module.exports = function (t, a) { a(t.call(f).call(o, ["a", "b"]), 7); };