Travis build: 620

This commit is contained in:
30secondsofcode
2018-10-09 08:16:49 +00:00
parent 3895e3c845
commit 1d7fb0c8bf
2 changed files with 2 additions and 2 deletions

View File

@ -1767,7 +1767,7 @@ join(['pen', 'pineapple', 'apple', 'pen']); // "pen,pineapple,apple,pen"
Converts an array of objects to a comma-separated values (CSV) string that contains only the `columns` specified.
Use `Array.prototype.join(demiliter)` to combine all the names in `columns` to create the first row.
Use `Array.prototype.join(delimiter)` to combine all the names in `columns` to create the first row.
Use `Array.prototype.map()` and `Array.prototype.reduce()` to create a row for each object, substituting non-existent values with empty strings and only mapping values in `columns`.
Use `Array.prototype.join('\n')` to combine all rows into a string.
Omit the third argument, `delimiter`, to use a default delimiter of `,`.