12
I have a variable array:
Bola = [];
I added the properties to it:
Bola[0] = { peso:0.5, cor:"branca", marca:"nike", nota:8 };
Bola[1] = { peso:0.7, cor:"verde", marca:"adidas", nota:9 };
I would like to remove the properties "brand" and "weight". How do I do this?
delete Ball[0]. weight ?
– Rafael Withoeft
I didn’t even know about this delete!
– Joao Paulo