{"ScriptPreparationCode":"/*your preparation JavaScript code goes here\r\nTo execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/\r\nasync function globalMeasureThatScriptPrepareFunction() {\r\n // This function is optional, feel free to remove it.\r\n // await someThing();\r\n}\r\nconst el = (id) =\u003E document.getElementById(id)","TestCases":[{"Name":"getElemntByID","Code":"/*When writing async/deferred tests, use \u0060deferred.resolve()\u0060 to mark test as done*/\r\nconst element = document.getElementById(\u0022elementWithId\u0022)","IsDeferred":false},{"Name":"with function","Code":"const element = el(\u0022elementWithId\u0022)","IsDeferred":false}],"UseTinyBench":false}