I'm confused why there are 10 dashes before the numbers 1,2,3 in the output of the code below. (in repl here: https://repl.it/DRuH)
var a = {
b: 42,
c: "42",
d: [1,2,3]
};
console.log(JSON.stringify( a, null, "-----" ));
The output is
{
-----"b": 42,
-----"c": "42",
-----"d": [
----------1,
----------2,
----------3
-----]
}
Why wouldn't [1,2,3] appear together just as b and c still look the same?
Why are there 10 dashes instead of 5 dashes for these numbers?