kopia lustrzana https://github.com/backface/turtlestitch
CSV: `Array.from` which a more Unicode friendly form of `split()`.
rodzic
c67df0ad87
commit
665c2d6e3b
|
@ -932,7 +932,7 @@ List.prototype.asCSV = function () {
|
|||
return string;
|
||||
}
|
||||
cell = ['\"'];
|
||||
string.split('').forEach(letter => {
|
||||
Array.from(string).forEach(letter => {
|
||||
cell.push(letter);
|
||||
if (letter === '\"') {
|
||||
cell.push(letter);
|
||||
|
|
Ładowanie…
Reference in New Issue