Blame view

node_modules/es5-ext/test/function/#/partial.js 197 Bytes
aaac7fed   liuqimichale   add
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]);
  };