Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

map onliy three object

{
  users.slice(0, 3).map(
    <UserItem key={user.id} user={user} />
  ))
}
 
PREVIOUS NEXT
Tagged: #map #onliy #object
ADD COMMENT
Topic
Name
3+8 =