odin-javascript-exercises/node_modules/table/dist/stringifyTableData.js
2017-12-15 12:56:14 -06:00

17 lines
No EOL
280 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
/**
* Casts all cell values to a string.
*
* @param {table~row[]} rows
* @returns {table~row[]}
*/
exports.default = rows => {
return rows.map(cells => {
return cells.map(String);
});
};