How to delete objects in array?

How to delete objects in array?
0.0 0

#1

How to delete objects task “some” ?
I have try jor.shift(), but it dosen’t work =(


#2

Have you tried .splice?


#3

yes, I have tried…


#4

Wait, you want to remove "Some" from the task array? .shift() should work. But you have to access the task property in the object in the jor array.


#5

like this jor.task.shift() ?


#6

I think this is what you want:

jor[0].task.shift()


#7

Thank you very much))