I’m new in JS and I want to delete the property "" of an object like this:
{tecnico2: 1.1, "": 0, tecnico4: 5, tecnico1: 3, tecnico3: 3}
to
{tecnico2: 1.1, tecnico4: 5, tecnico1: 3, tecnico3: 3}
Thank you for your time!!
I search about this but I only saw examples about delete the values ”, not the key like I need it.
2
Answers
or, if you don’t want to modify the original data object: