Skip to content

peta-byte/js-arrays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Quick Tricks - DOM & Arrays

Came across a nifty Medium article on JS arrays quick operations and whipped this up to flex some JS muscles.

Ever wondered how some frameworks add elements on the fly to their components? For example, using attributes like ngFor in Angular. They may be leveraging simple DOM functions like createElement for that magic.

Probably to greater extents than this example...🤔


References: