forked from enviPath/enviPy
Current Dev State
This commit is contained in:
10
static/js/ketcher2/node_modules/object-keys/test/isArguments.js
generated
vendored
Normal file
10
static/js/ketcher2/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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user