String Template Format: Inspect
String template literal tag that uses Node's util.inspect
Usage Examples
Without Options
console
should print:
number: 123; string: 'abc'; object: { abc: 123 }; array: [ 0, 1, 2 ]
With Options
const dbg = const myObject = { return 123 } def: 0 1 2 console
should print:
my object is { abc: [Getter: 123], def: [ ... 3 more items ] }