{"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}","TestCases":[{"Name":"inside loop","Code":"const strNum= \u002734GB\u0027;\r\n\r\nfunction run(strNum){\r\n const results= strNum.match(/^([\\d_]\u002B(?:\\.[\\d_]\u002B)?)\\s*([KMGT])?(i)?([Bb])?$/);\r\n}\r\n\r\nfor(let i=0; i\u003C10000; \u002B\u002Bi){\r\n run(strNum);\r\n}","IsDeferred":false},{"Name":"module level","Code":"const strNum= \u002734GB\u0027;\r\nconst regex= /^([\\d_]\u002B(?:\\.[\\d_]\u002B)?)\\s*([KMGT])?(i)?([Bb])?$/;\r\n\r\nfunction run(strNum){\r\n const results= strNum.match(regex);\r\n}\r\n\r\nfor(let i=0; i\u003C10000; \u002B\u002Bi){\r\n run(strNum);\r\n}","IsDeferred":false}]}