I'am getting a strange error while a the code in the tutorial works fine?
On line 18, the syntax
`E${lastRow}`
represents a Javascript template literal, where ${lastRow}
will be replaced with the value of lastRow
(presumably an integer so you get a cell reference like E3
).
Template literals should be delimited by backticks (`
), not single quotes ('
). Try replacing the single quotes with backticks.