en.javascript.info/1-js/5-functions-closures/7-with/2-with-variables/task.md
Ilya Kantor 87bf53d076 update
2014-11-16 01:40:20 +03:00

172 B

With + переменные

[importance 5]

Что выведет этот код?

var a = 1;

var obj = { b: 2 };

with(obj) {
  var b;
  alert( a + b );
}