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

Method reject

src/main/java/org/dynjs/runtime/DynObject.java:452–457  ·  view source on GitHub ↗
(ExecutionContext context, boolean shouldThrow)

Source from the content-addressed store, hash-verified

450 }
451
452 protected boolean reject(ExecutionContext context, boolean shouldThrow) {
453 if (shouldThrow) {
454 throw new ThrowException(context, context.createTypeError("unable to perform operation"));
455 }
456 return false;
457 }
458
459 @Override
460 public NameEnumerator getOwnPropertyNames() {

Callers 3

defineOwnPropertyMethod · 0.95
defineOwnPropertyMethod · 0.80
defineOwnPropertyMethod · 0.80

Calls 1

createTypeErrorMethod · 0.80

Tested by

no test coverage detected