Skip to content

Juan321654/array-of-objects-for-in-for-of-loops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

array-of-objects-for-in-for-of-loops

  • how to deal with loops on objects and pushing it into a new array.

The following snippet shows how to create or push a new key value into an object

let obj = {}
obj['firstName'] = 'Juan'
console.log(obj);

//  { firstName: 'Juan' }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published