Answer the question
In order to leave comments, you need to log in
Check objects in an array for the presence of a key?
It is necessary that by clicking on add, there was a check by name, if there is such a number. ++
if not, the object was added to the array. etc.
Partially done. But it works crookedly. What's wrong, I don't understand.
https://jsfiddle.net/xpycm789/1uneboyz/4/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question