source: imaps-frontend/node_modules/object-inspect/test/holes.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 255 bytes
Line 
1var test = require('tape');
2var inspect = require('../');
3
4var xs = ['a', 'b'];
5xs[5] = 'f';
6xs[7] = 'j';
7xs[8] = 'k';
8
9test('holes', function (t) {
10 t.plan(1);
11 t.equal(
12 inspect(xs),
13 "[ 'a', 'b', , , , 'f', , 'j', 'k' ]"
14 );
15});
Note: See TracBrowser for help on using the repository browser.