Skip to content

Commit

Permalink
weird null behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Mar 4, 2014
1 parent 703b0ce commit 405c1ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example/undef.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var inspect = require('../');
var obj = { a: 1, b: [ 3, 4, undefined, null ], c: undefined, d: null };
obj.c = obj;
console.log(inspect(obj));

0 comments on commit 405c1ea

Please sign in to comment.