--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
10
node_modules/object-keys/test/isArguments.js
generated
vendored
Normal file
10
node_modules/object-keys/test/isArguments.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
var test = require('tape');
|
||||
var isArguments = require('../isArguments');
|
||||
|
||||
test('is.arguments', function (t) {
|
||||
t.notOk(isArguments([]), 'array is not arguments');
|
||||
(function () { t.ok(isArguments(arguments), 'arguments is arguments'); }());
|
||||
(function () { t.notOk(isArguments(Array.prototype.slice.call(arguments)), 'sliced arguments is not arguments'); }());
|
||||
t.end();
|
||||
});
|
||||
|
||||
Loading…
Reference in a new issue