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
  • 32,739
  • 29
  • 126
  • 286

0 Answers0