Hello again,
Preface: I use Windows 10 and Google Chrome, I’m also very new to javascript
Goal:
I want to add a row to a preexisting array that would look like this —>
Attempt1:

Problem:
I get this error “Error in executeScript_Sandbox code: Cannot set property ‘0’ of undefined”
Attempt2:
I attempted to flip the location of the input
and got this output:
So newArr.length is definitely reading the column length but my script is not able to input variables into the columns correctly. If anyone has a suggestion on how to add the row correctly I’d be very grateful