问题 I am writing a function in Google Apps Script and it seems the last error I need to get around is a "reference does not exist" error in Google Sheets when I call my function. I don't know what to do about this because it doesn't seem to be a problem with my code. This is what my code looks like now. It isn't complete because I need to change it for user input, but this is a test. In a google sheets cell I type in =sortingtesting() function sortingtesting() { var pInfo1 = ['a','b','c','d','e',