mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
15
node_modules/es5-ext/test/array/#/separate.js
generated
vendored
Normal file
15
node_modules/es5-ext/test/array/#/separate.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (t, a) {
|
||||
var x = [], y = {}, z = {};
|
||||
a.deep(t.call(x, y), [], "Empty");
|
||||
a.not(t.call(x), x, "Returns copy");
|
||||
a.deep(t.call([1], y), [1], "One");
|
||||
a.deep(t.call([1, 'raz'], y), [1, y, 'raz'], "One");
|
||||
a.deep(t.call([1, 'raz', x], y), [1, y, 'raz', y, x], "More");
|
||||
x = new Array(1000);
|
||||
x[23] = 2;
|
||||
x[3453] = 'raz';
|
||||
x[500] = z;
|
||||
a.deep(t.call(x, y), [2, y, z, y, 'raz'], "Sparse");
|
||||
};
|
||||
Reference in New Issue
Block a user