en.javascript.info/1-js/5-functions-closures/1-global-object/2-window-and-variable-2/task.md
Ilya Kantor 87bf53d076 update
2014-11-16 01:40:20 +03:00

180 B

Window и переменная 2

[importance 5]

Каков будет результат (перед a нет var)?

if ("a" in window) {
    a = 1;
}
alert(a);