diff options
author | Jesse Jackson <jsejcksn@users.noreply.github.com> | 2021-01-21 19:09:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 20:09:07 -0500 |
commit | ffa920e4b9594f201756f9eeca542e5dfb8576d1 (patch) | |
tree | c38946a472d0468b89816061ce0300674f38d493 /std/encoding/csv_stringify.ts | |
parent | bdb1ee64800e03699d41265c5158c99e3a390ec7 (diff) |
Typo (#9221)
Diffstat (limited to 'std/encoding/csv_stringify.ts')
-rw-r--r-- | std/encoding/csv_stringify.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/encoding/csv_stringify.ts b/std/encoding/csv_stringify.ts index 758609734..921631d37 100644 --- a/std/encoding/csv_stringify.ts +++ b/std/encoding/csv_stringify.ts @@ -17,7 +17,7 @@ function getEscapedString(value: unknown, sep: string): string { if (typeof value === "object") str = JSON.stringify(value); else str = String(value); - // Is regex.test more performance here? If so, how to dynamically create? + // Is regex.test more performant here? If so, how to dynamically create? // https://stackoverflow.com/questions/3561493/ if (str.includes(sep) || str.includes(NEWLINE) || str.includes(QUOTE)) { return `${QUOTE}${str.replaceAll(QUOTE, `${QUOTE}${QUOTE}`)}${QUOTE}`; |