Answers for "how can serach in object condiotion react js"

0

how can serach in object condiotion react js

const people = [
  {
    name: 'James',
    age: 31,
  },
  {
    name: 'John',
    age: 45,
  },
  
    <div>
      {people.filter(person => person.age < 60).map(filteredPerson => (
        <li>
          {filteredPerson.name}
        </li>
      ))}
    </div>
Posted by: Guest on July-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language