Jon1337228's picture
download
raw
400 Bytes
var inspect = require('../');
var test = require('tape');
test('deep', function (t) {
t.plan(4);
var obj = [[[[[[500]]]]]];
t.equal(inspect(obj), '[ [ [ [ [ [Array] ] ] ] ] ]');
t.equal(inspect(obj, { depth: 4 }), '[ [ [ [ [Array] ] ] ] ]');
t.equal(inspect(obj, { depth: 2 }), '[ [ [Array] ] ]');
t.equal(inspect([[[{ a: 1 }]]], { depth: 3 }), '[ [ [ [Object] ] ] ]');
});

Xet Storage Details

Size:
400 Bytes
·
Xet hash:
570860b7c1cd8d05538ca88d1edeebce89bb9ff0799c644efb2d76e47533ce98

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.