Executing eval("const a;") crashes WebKit, both in the JS shell and in the browser.
Created attachment 22666 [details] Stack trace The reason for the crash is pretty obvious. The eval path assumes that there is an initializer. I'll change it so it returns undefined otherwise.
Created attachment 22668 [details] Proposed patch
Comment on attachment 22668 [details] Proposed patch r=me
Landed in r35584.