Skip to content
Advertisement

how to check a condition in object array [closed]

I am trying to use an array map for checking if same username and password exist in an object array

JavaScript

Advertisement

Answer

You may use find for conditions:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement