How to edit partiular value from the array of objects which is saved in a custom state of a element

how to edit partiular value from the array of objects which is saved in a custom state of a element in bubble.io
eg my object is like
[
{
“_id”: “123”,
“tags”: [“React”, “Next.js”]
},
{
“_id”: “456”,
“tags”: [“Node.js”, “MongoDB”]
}
]

then how to change any va;ue ?? its store in elemet state

Use the javascriptToBubble functionality from the Toolbox plugin.
You can run a run javascript action, make changes to your JSON array, and then call the javascriptToBubble action with the updated JSON and in the event that gets triggered, set the new JSON as the state.

can u give demo code how can i do through javascript and then convert to bubble

Just uploaded a functional example for you:

If you have the Atomic Fusion extension, you can copy/paste this into your editor and dig into the details.