summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/function/#/spread.js
blob: b82dfecfe950455b12ed39e09c29eb134f579394 (plain)
1
2
3
4
5
6
7
8
'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);
};