I want to get the last 10 items from Google Sheets, but so far, it’s not working.
Here’s my code:
I have 13 items in my spreadsheet, so, ideally I should get all the items from the 3rd row to the 13th.
But, this is not working. I’m receiving 13(which is the length of my spreadsheet) as variable i in my alert message. What should I do?