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

17 lines
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);
});
};