Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change list of objects to list js

var inputArray = [{
  value: 1
}, {
  value: 2
}];

var normalizedArray = inputArray.map((obj) => {
  return obj.value;
});

console.log(normalizedArray.join(","))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #list #objects #list #js
ADD COMMENT
Topic
Name
5+7 =