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

Method delete

www/js/_hyperscript-max.js:4118–4126  ·  view source on GitHub ↗
(ctx, lhs)

Source from the content-addressed store, hash-verified

4116 });
4117 }
4118 delete(ctx, lhs) {
4119 ctx.meta.runtime.nullCheck(lhs.root, this.root);
4120 var runtime2 = ctx.meta.runtime;
4121 var prop = this.prop.value;
4122 runtime2.implicitLoop(lhs.root, (elt) => {
4123 delete elt[prop];
4124 runtime2.notifyMutation(elt);
4125 });
4126 }
4127 };
4128 var OfExpression = class _OfExpression extends Expression {
4129 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