Files
catmk2/task1/utils/readCell.js
louiscklaw e46f1afc57 update,
2025-02-01 02:00:23 +08:00

11 lines
212 B
JavaScript

function readCell(cell) {
var output = { state: "init", debug: {}, error: {} };
try {
return cell.getValue() || "";
} catch (error) {
output = {...output, err: error}
console.log(error);
}
}