MCPcopy Create free account
hub / github.com/nodejs/node / TestConstruct

Function TestConstruct

deps/v8/test/mjsunit/es6/proxies-function.js:288–291  ·  view source on GitHub ↗
(proto, constructTrap)

Source from the content-addressed store, hash-verified

286}
287
288function TestConstruct(proto, constructTrap) {
289 TestConstruct2(proto, constructTrap, handlerWithPrototype)
290 TestConstruct2(proto, constructTrap, handlerSansPrototype)
291}
292
293function TestConstruct2(proto, constructTrap, handler) {
294 var f = new Proxy(function(){}, {construct: constructTrap})

Callers 1

Calls 1

TestConstruct2Function · 0.85

Tested by

no test coverage detected