odin-javascript-exercises/node_modules/table/dist/stringifyTableData.js

17 lines
280 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08:00
"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);
});
};