Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

loop an object properties in ts

Object.keys(obj).forEach(e => console.log(`key=${e}  value=${obj[e]}`));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #loop #object #properties #ts
ADD COMMENT
Topic
Name
8+2 =