Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript foreach call specific value in array

 run.addEventListener("click", function () {
    people.forEach((element) => console.log(element.firstname));
  }); // select a specific string in array
 
PREVIOUS NEXT
Tagged: #javascript #foreach #call #specific #array
ADD COMMENT
Topic
Name
2+6 =