pretty printer for object/arrays
const result = inspect([ { index: 1, value: 'foo bar baz '.repeat(100) },
{ index: 2, value: 'foo bar baz '.repeat(10) },
{ index: 125, value: null },
{ index: 16, value: 0123456789 },
{ index: 300, value: function foo() {} },