setGlobals(values) {
		for (const name in values) {
			if (Object.prototype.hasOwnProperty.call(values, name)) {
				this.sandbox[name] = values[name];
			}
		}
		return this;
	}
Adds all the values to the globals.

@public
@since v3.9.0
@param {Object} values - All values that will be added to the globals.
@return {this} This for chaining.
@throws {*} If the setter of a global throws an exception it is propagated. And the remaining globals will not be written.