Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

object iteration in typescript

Object.entries(obj).forEach(
  ([key, value]) => console.log(key, value);
);
 
PREVIOUS NEXT
Tagged: #object #iteration #typescript
ADD COMMENT
Topic
Name
8+9 =