forked from enviPath/enviPy
Current Dev State
This commit is contained in:
13
static/js/ketcher2/node_modules/es5-ext/test/function/is-arguments.js
generated
vendored
Normal file
13
static/js/ketcher2/node_modules/es5-ext/test/function/is-arguments.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (t, a) {
|
||||
var args, dummy;
|
||||
args = (function () {
|
||||
return arguments;
|
||||
}());
|
||||
dummy = { 0: 1, 1: 2 };
|
||||
Object.defineProperty(dummy, "length", { value: 2 });
|
||||
a(t(args), true, "Arguments");
|
||||
a(t(dummy), false, "Dummy");
|
||||
a(t([]), false, "Array");
|
||||
};
|
||||
Reference in New Issue
Block a user