if (this === undefined) throw new Error("this !== undefined in script code");