MCPcopy Create free account
hub / github.com/dynjs/dynjs / newObject

Method newObject

src/main/java/org/dynjs/runtime/java/JSAdapter.java:57–59  ·  view source on GitHub ↗
(ExecutionContext context)

Source from the content-addressed store, hash-verified

55 }
56
57 public static DynObject newObject(ExecutionContext context) {
58 return (DynObject) context.construct((Object) null, (JSFunction) context.getGlobalContext().getObject().get(context, "__JS_Adapter"));
59 }
60
61 @Override
62 public void setFileName() {

Callers

nothing calls this directly

Calls 4

getObjectMethod · 0.80
getMethod · 0.65
getGlobalContextMethod · 0.65
constructMethod · 0.45

Tested by

no test coverage detected