(x)
| 234 | const escapeQuote = /"/g |
| 235 | |
| 236 | function arrayEscape(x) { |
| 237 | return x |
| 238 | .replace(escapeBackslash, '\\\\') |
| 239 | .replace(escapeQuote, '\\"') |
| 240 | } |
| 241 | |
| 242 | export const arraySerializer = function arraySerializer(xs, serializer, options, typarray) { |
| 243 | if (Array.isArray(xs) === false) |