PATH:
usr
/
lib
/
node_modules
/
forever
/
node_modules
/
object-inspect
/
test
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] ] ] ]'); });
[-] indent-option.js
[edit]
[-] bigint.js
[edit]
[-] inspect.js
[edit]
[-] number.js
[edit]
[+]
browser
[-] deep.js
[edit]
[-] has.js
[edit]
[-] fn.js
[edit]
[-] element.js
[edit]
[-] fakes.js
[edit]
[-] values.js
[edit]
[+]
..
[-] holes.js
[edit]
[-] toStringTag.js
[edit]
[-] undef.js
[edit]
[-] quoteStyle.js
[edit]
[-] circular.js
[edit]
[-] err.js
[edit]
[-] lowbyte.js
[edit]
[-] global.js
[edit]