function Dictionary (startValues) { this.values = startValues || {}; } Dictionary.prototype.store = function (name, value) { this.values[name] = value; }