function AppendRow() {
let sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Data')[0];
var array = [
'Петя',
44444,
'Петя',
44444,
'Петя',
44444,
44444,
44444,
44444,
'Петя',
'Петя',
44444,
'Петя',
'Петя',
];
sheet.appendRow(array);
sheet.appendRow(['Frodo', 'Baggins', 'Hobbit', 'The Shire', 33]);
}
TypeError: Cannot read property 'appendRow' of undefined