update,
This commit is contained in:
10
catmk2/task1/utils/getCell.js
Normal file
10
catmk2/task1/utils/getCell.js
Normal file
@@ -0,0 +1,10 @@
|
||||
function getCell(sheet, row, column) {
|
||||
output = {state:'init', debug:{}, error:{}}
|
||||
try {
|
||||
var cell = sheet.getRange(column + row);
|
||||
return cell;
|
||||
} catch (error) {
|
||||
output = {...output, error}
|
||||
console.log(output);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user