Give a regex, get a robust predicate function that tests it against a string.
Array.prototype.concat
, but made safe by ignoring Symbol.isConcatSpreadable
Like JSON.stringify, but doesn't blow up on circular refs.
Deterministic and safely JSON.stringify to quickly serialize JavaScript objects