The TypeError object represents an error when an operation could not be performed, typically (but not exclusively) when a value is not of the expected type.| developer.mozilla.org
The globalThis global property contains the global this value, which is usually akin to the global object.| MDN Web Docs