`trimTrailingZeros` with `short` removes opening bracket for wrapped arrays
Phrogz opened this issue · comments
Gavin Kistner commented
a = [1,2]
neatJSON(a,{ wrap:true, indent:"", decimals:3, trimTrailingZeros:true })
// [
// 1,
// 2
// ]
neatJSON(a,{ wrap:true, short:true, decimals:3, trimTrailingZeros:true });
// 1,
// 2]
Expected output:
[1,
2]