MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / delete

Method delete

www/js/_hyperscript.js:4119–4127  ·  view source on GitHub ↗
(ctx, lhs)

Source from the content-addressed store, hash-verified

4117 });
4118 }
4119 delete(ctx, lhs) {
4120 ctx.meta.runtime.nullCheck(lhs.root, this.root);
4121 var runtime2 = ctx.meta.runtime;
4122 var prop = this.prop.value;
4123 runtime2.implicitLoop(lhs.root, (elt) => {
4124 delete elt[prop];
4125 runtime2.notifyMutation(elt);
4126 });
4127 }
4128 };
4129 var OfExpression = class _OfExpression extends Expression {
4130 static grammarName = "ofExpression";

Callers

nothing calls this directly

Calls 3

nullCheckMethod · 0.45
implicitLoopMethod · 0.45
notifyMutationMethod · 0.45

Tested by

no test coverage detected