summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/constructor-basic.js
AgeCommit message (Collapse)Author
2020-03-28LibJS: Implement basic support for the "new" keywordAndreas Kling
NewExpression mostly piggybacks on the existing CallExpression. The big difference is that "new" creates a new Object and passes it as |this| to the callee.