]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0084.git/blob - example/iot-gateway/node_modules/object-inspect/test/holes.js
Initial commit
[apps/tidep0084.git] / example / iot-gateway / node_modules / object-inspect / test / holes.js
1 var test = require('tape');
2 var inspect = require('../');
4 var xs = [ 'a', 'b' ];
5 xs[5] = 'f';
6 xs[7] = 'j';
7 xs[8] = 'k';
9 test('holes', function (t) {
10     t.plan(1);
11     t.equal(
12         inspect(xs),
13         "[ 'a', 'b', , , , 'f', , 'j', 'k' ]"
14     );
15 });