Opal-Estate-Pro/node_modules/es5-ext/test/array/#/first.js

12 lines
285 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
"use strict";
exports.__generic = function (t, a) { a(t.call(this), this[0]); };
exports[""] = function (t, a) {
var x;
a(t.call([]), undefined, "Empty");
a(t.call(new Array(234), undefined, "Sparse empty"));
x = new Array(2342);
x[434] = {};
a(t.call(x), x[434], "Sparse");
};