I have
stone = [];
stoneB.playerId = players[player.playerId].playerId
I push new elements into stone by
stone.push(stoneB)
How would I go about removing all of the elements from stone that match stoneB.playerId
for a given player?
I have
stone = [];
stoneB.playerId = players[player.playerId].playerId
I push new elements into stone by
stone.push(stoneB)
How would I go about removing all of the elements from stone that match stoneB.playerId
for a given player?