Do you want get 2nd var in that small arrays e.g. [“book”,1]?
for i in myArray:
if i[1] = listID
myArray.remove[i]
should work. pass is not necessary. It does nothing.
PS. Please write more exactly WHAT do you want to get.
PS1. Please write line of code where you got error (3,4?)
I want to get an index from my array and remove it
Type: var listID = 1
Var myArray = [[“notebook”, 0], [Delete], [“phone”, 2]]
The error is just in this line >> if myArray.has(myArray[listID])
I know that the pass does nothing, I just use it to make it cute
It’s hard to express yourself on the internet, I try but I’m not very good at it. kkkkkk