Bug 146507
Summary: | [ES6] Implement ES6 arrow function syntax. toString should return body of arrow function | ||
---|---|---|---|
Product: | WebKit | Reporter: | GSkachkov <gskachkov> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | joepeck, saam, ysuzuki |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 144956 | ||
Bug Blocks: | 140855 |
GSkachkov
toString can be tested by following statements:
var af = x => x + 1;
af.toString() === 'x => x + 1';
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
GSkachkov
In current version:
var af = x => x + 1;
af.toString();// returns 'x => x + 1;' should return without ; - 'x => x + 1'
Yusuke Suzuki
I think https://bugs.webkit.org/show_bug.cgi?id=148148 and https://bugs.webkit.org/show_bug.cgi?id=148445 already fixed this issue, right?
GSkachkov
(In reply to comment #2)
> I think https://bugs.webkit.org/show_bug.cgi?id=148148 and
> https://bugs.webkit.org/show_bug.cgi?id=148445 already fixed this issue,
> right?
Yes, that is correct. But I don't have permission to close this issue.