partial.js 197 Bytes
Newer Older
YazhouChen's avatar
YazhouChen committed
1 2 3 4 5 6 7 8 9 10 11
"use strict";

var toArray = require("../../../array/to-array")

  , f = function () {
 return toArray(arguments);
};

module.exports = function (t, a) {
	a.deep(t.call(f, 1)(2, 3), [1, 2, 3]);
};