// ๐ธ app.sheetByName()sheetByName(name) {constss=app.spreadsheet;let sheet =ss.getSheetByName(name);// if no such sheet, append a new one.if(sheet ===null){ let i =ss.getNumSheets(); // ็ฎๅ็ๆๅนพ้ sheet =ss.insertSheet(name, i); // ๆๅ ฅๆๅพ้ข (โญ๏ธ will activate automatically) }sheet.activate(); // โญ๏ธ activate before returning sheet.__proto__=app.sheetPrototype; // โญ๏ธ extend sheet return sheet; },