{"ScriptPreparationCode":null,"TestCases":[{"Name":"Memoize typeof call","Code":"let cachedGlobal;\r\n\r\nfunction getGlobal() {\r\n if (cachedGlobal) {\r\n return cachedGlobal;\r\n }\r\n \r\n if (typeof globalThis !== \u0027undefined\u0027 \u0026\u0026 globalThis) {\r\n cachedGlobal = globalThis;\r\n }\r\n \r\n return cachedGlobal\r\n}\r\n\r\nfor (let i = 0; i \u003C 4000; i\u002B\u002B) {\r\n const global = getGlobal();\r\n}","IsDeferred":false},{"Name":"Call typeof every time","Code":"function getGlobal() {\r\n if (typeof globalThis !== \u0027undefined\u0027 \u0026\u0026 globalThis) {\r\n return globalThis;\r\n }\r\n}\r\n\r\nfor (let i = 0; i \u003C 4000; i\u002B\u002B) {\r\n const global = getGlobal();\r\n}","IsDeferred":false}]}