How to delete objects in array?

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

Have you tried .splice?

yes, I have tried…

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.

like this jor.task.shift() ?

I think this is what you want:

jor[0].task.shift()

1 Like

Thank you very much))

1 Like