This commit is contained in:
Robert authored and GitHub committed 2025-03-12 04:13:21 +00:00
1 parent 3f2a4ec0d3
commit 65d8c608c5
626 files changed
+66952 -3

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
'use strict';
var inspect = require('../');
var Buffer = require('safer-buffer').Buffer;
var holes = ['a', 'b'];
holes[4] = 'e';
holes[6] = 'g';
var obj = {
a: 1,
b: [3, 4, undefined, null],
c: undefined,
d: null,
e: {
regex: /^x/i,
buf: Buffer.from('abc'),
holes: holes
},
now: new Date()
};
obj.self = obj;
console.log(inspect(obj));