Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js object percorrer

const obj = {
  "column01": "Coluna 01",
  "column02": "Coluna 02"
};

for (const [key, value] of Object.entries(obj)) {
  console.log(key + ' ' + value);
}
 Executar
Source by pt.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #object #percorrer
ADD COMMENT
Topic
Name
2+4 =