Skip to content

Commit

Permalink
holes in the all example
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Mar 5, 2014
1 parent ce25f73 commit 7d345f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions example/all.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
var inspect = require('../');
var holes = [ 'a', 'b' ];
holes[4] = 'e', holes[6] = 'g';
var obj = {
a: 1,
b: [ 3, 4, undefined, null ],
c: undefined,
d: null,
e: /^x/i,
buf: new Buffer('abc'),
e: {
regex: /^x/i,
buf: new Buffer('abc'),
holes: holes
},
now: new Date
};
obj.self = obj;
Expand Down

0 comments on commit 7d345f3

Please sign in to comment.