RESOLVED FIXED 168500
[ES6]. Implement Annex B.3.3 function hoisting rules for eval. Do not create space for variable in var scope until binding
https://bugs.webkit.org/show_bug.cgi?id=168500
Summary [ES6]. Implement Annex B.3.3 function hoisting rules for eval. Do not create ...
GSkachkov
Reported 2017-02-17 01:20:54 PST
''' function foo() { { let boo = 10; eval(' { function boo() {} } '); print(boo); // 10 } print(boo); //should be Reference Error, but now it prints 'undefined' } foo(); '''
Attachments
GSkachkov
Comment 1 2017-07-11 14:44:41 PDT
Fixed in 163208
Note You need to log in before you can comment on or make changes to this bug.