* Version WebKit nightly r188633 * SUMMARY Executing a named IIFE function that uses ES6 default parameters in the console causes a crash. * STEPS TO REPRODUCE 1. Open Console 2. Execute the following snippet (function fn(oo = 'test') { console.log(oo); })() => Crashes the Browser * EXPECTATION Console prints "test" Interestingly an anonymous function works: (function(oo = 'test') { console.log(oo); })()
<rdar://problem/22345949>
Created attachment 259378 [details] Test case This is not an inspector bug.
this was fixed in: http://trac.webkit.org/changeset/188926 for bug: https://bugs.webkit.org/show_bug.cgi?id=148400