In this snippet a proxy is used that makes all html node tagNames valid methods. Each method can take strings and HTMLElements as arguments in any order to create a DOM structure. This may look familiar to people who have looked a bit deeper into the inner workings of some of the popular UI libraries of the last decade.
See more stuff like this over @ Snippet Zone
 
 
              
 
    
Top comments (0)