Hacker News new | ask | show | jobs
by seumars 1582 days ago
Your comment makes no sense without you specifying what the "divs" variable value even is.
2 comments

> because divs is a proxy for an object with getters that can figure out the name of the variable you are destructing into and create a new element with that class name

A never ending well of new divs that have the class name of the variable name

I put an example of what `divs` could be in my comment here: https://news.ycombinator.com/item?id=30357788#30361633