help-js
Root Question Message
eating: [ {newPosition: -18, checkEnemy: -9}, {newPosition: -14, checkEnemy: -7} ]
eating.some((currentElement) => currentElement.newPosition ==== value);
Solution Message