attach (parent, skipset) {
		if (this[_done]) {
			throw new Error("Cannot attach cancelled Reactor");
		}
		if (this === parent) {
			throw new Error("Cannot attach Reactor to itself");
		}
		if (this[_children].has(parent)) {
			throw new Error("Cannot attach Reactor to its child");
		}
		if (parent instanceof Reactor) {
			// Set new parent, add this to new parent's child set, and recalculate value
			parent[_addchild](this);
			// Will invoke setter and thus cascade if appropriate
			return (skipset || parent[_iserr] === undefined) ? this : this[_upd](parent.value, parent.iserr);
		}
		// Throw if not reactor
		throw new Error("Cannot attach to non-Reactor");
	}
// If skipset is true, will skip setting value to parent's
If skipset is true, will skip setting value to parent's
If skipset is true will skip setting value to parent ' s
attach (parent, skipset) {
		if (this[_done]) {
			throw new Error("Cannot attach cancelled Reactor");
		}
		if (this === parent) {
			throw new Error("Cannot attach Reactor to itself");
		}
		if (this[_children].has(parent)) {
			throw new Error("Cannot attach Reactor to its child");
		}
		if (parent instanceof Reactor) {
			parent[_addchild](this);
			return (skipset || parent[_iserr] === undefined) ? this : this[_upd](parent.value, parent.iserr);
		}
		throw new Error("Cannot attach to non-Reactor");
	}
attach ( parent , skipset ) { if ( this [ _done ] ) { throw new Error ( "Cannot attach cancelled Reactor" ) ; } if ( this === parent ) { throw new Error ( "Cannot attach Reactor to itself" ) ; } if ( this [ _children ] . has ( parent ) ) { throw new Error ( "Cannot attach Reactor to its child" ) ; } if ( parent instanceof Reactor ) { parent [ _addchild ] ( this ) ; return ( skipset || parent [ _iserr ] === undefined ) ? this : this [ _upd ] ( parent . value , parent . iserr ) ; } throw new Error ( "Cannot attach to non-Reactor" ) ; }
If skipset is true, will skip setting value to parent's
If skipset is true will skip setting value to parent ' s
// Set new parent, add this to new parent's child set, and recalculate value // Will invoke setter and thus cascade if appropriate // Throw if not reactor