How to access the properties of an object within an array in Javascript

Asked

Viewed 110 times

0

I’m a beginner in Js, studying arrays, I wondered how to access a specific information of an object inside an array
For example if I wanted to access only the name Diego and his skills and give a console.log to get this result:
Diego has the skills: Javascript, Reactjs, Redux

var usuarios = [
    {
        nome: "Diego",    
        habilidades: ["Javascript", "ReactJS", "Redux"]  
    }
    ,  
    {  
        nome: "Gabriel",    
        habilidades: ["VueJS", "Ruby on Rails", "Elixir"]  
    }
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.