0

I have this setup as a global:

var blah;

Now in a function I do this:

function() {
   var { blah } = obj;
}

However the global blah is not override with the destructure value. The desructurd value is available locally in that function. Is there anyway to get it out and global?

Noitidart
  • 35,443
  • 37
  • 154
  • 323

0 Answers0