| Summary: | Web Inspector: cannot define an ES6 class from the console | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brian Burg <burg> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | graouts, joepeck, jonowells, mattbaker, nvasilyev, rniwa, saam, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Brian Burg
2015-04-21 20:02:08 PDT
*** This bug has been marked as a duplicate of bug 141737 *** FWIW the workaround is to assign:
js> MyClass = class MyClass { };
Lets reopen this, as we are handling the Object case separately. Forward duping to the more generic bug about `let` and `const` in the Console. Bug 150752. *** This bug has been marked as a duplicate of bug 150752 *** |