MDN uses:
JSON.stringify(value[, replacer [, space]])
instead of just this:
JSON.stringify(value, replacer, space)
What do the square brackets mean?
MDN uses:
JSON.stringify(value[, replacer [, space]])
instead of just this:
JSON.stringify(value, replacer, space)
What do the square brackets mean?
It's a conventional way in technical documentation of saying that part is optional.