// Simple helpers for interacting with reactive variables. ReactiveVar.prototype.pop = function() { const value = this.get(); value.pop(); this.set(value); } ReactiveVar.prototype.push = function(element) { const value = this.get(); value.push(element); this.set(value); }