Bug 160418

Summary: [ES2016] Implement 'class extends null'
Product: WebKit Reporter: GSkachkov <gskachkov>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: gskachkov, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 160392    

GSkachkov
Reported 2016-08-01 12:40:27 PDT
class A extends null {}; class B extends null { constructor() { debug(this instanceof B && !(this instanceof Object)); } }; // should be true; Following discussions cover this issue: https://github.com/tc39/ecma262/issues/543 Spec https://github.com/tc39/ecma262/blob/703238399d339ceb7f894f4733626f601d42d05e/workingdocs/ES6-super-construct%3Dproposal.md - Last sentance and And https://github.com/tc39/ecma262/issues/22
Attachments
GSkachkov
Comment 1 2016-08-01 12:43:44 PDT
Oh, I was so slow in adding new issue, so need to close duplicate *** This bug has been marked as a duplicate of bug 160417 ***
Note You need to log in before you can comment on or make changes to this bug.