RESOLVED FIXED 59289
Assigning to function identifier under strict should throw
https://bugs.webkit.org/show_bug.cgi?id=59289
Summary Assigning to function identifier under strict should throw
kangax
Reported 2011-04-23 19:59:00 PDT
`(function f() { f = 123; })()` should be a TypeError under strict mode but currently isn't. FF4 and IE10 both comply on this one.
Attachments
Patch (6.25 KB, patch)
2011-05-01 19:42 PDT, Oliver Hunt
barraclough: review+
Oliver Hunt
Comment 1 2011-05-01 19:42:10 PDT
Oliver Hunt
Comment 2 2011-05-01 19:58:10 PDT
kangax
Comment 3 2011-05-01 22:25:48 PDT
yay! :)
Note You need to log in before you can comment on or make changes to this bug.