Deep creation of object...

var = true
Binding variable like this could actually set it up as nested object, instead of giving error that it cannot access it from certain point.

1 Like

What's the point? Just write what you mean to do:

var x = {chrome: {tab: true}};

I don't see the problem that this is trying to solve.


Because then in nested structures you have to overwrite whole objects, or use Object.Assign... Both of which are unnecessary crap standing in million lines of finished code every day.