Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how get one value of array of object in javascript

let value = [
  {
    "value": "html",
    "label": "html"
  },
  {
    "value": "javascript",
    "label": "javascript"
  }
];
value.map((item)=>item.label)
 
PREVIOUS NEXT
Tagged: #array #object #javascript
ADD COMMENT
Topic
Name
5+9 =