{"ScriptPreparationCode":"function generate_guid(s) {\r\n var i = 0,\r\n guid = \u0027\u0027,\r\n n = s \u0026\u0026 s.length || 0;\r\n\r\n for (; i \u003C 8; i\u002B\u002B) {\r\n guid \u002B= (i \u003C n) ? s[i] : \u00270\u0027;\r\n }\r\n\r\n guid \u002B= \u0027-\u0027;\r\n\r\n for (i = 8; i \u003C 12; i\u002B\u002B) {\r\n guid \u002B= (i \u003C n) ? s[i] : \u00270\u0027;\r\n }\r\n\r\n guid \u002B= \u0027-\u0027;\r\n\r\n for (i = 12; i \u003C 16; i\u002B\u002B) {\r\n guid \u002B= (i \u003C n) ? s[i] : \u00270\u0027;\r\n }\r\n\r\n guid \u002B= \u0027-\u0027;\r\n\r\n for (i = 16; i \u003C 20; i\u002B\u002B) {\r\n guid \u002B= (i \u003C n) ? s[i] : \u00270\u0027;\r\n }\r\n\r\n guid \u002B= \u0027-\u0027;\r\n\r\n for (i = 20; i \u003C 32; i\u002B\u002B) {\r\n guid \u002B= (i \u003C n) ? s[i] : \u00270\u0027;\r\n }\r\n\r\n return guid;\r\n}\r\n\r\nfunction randomString() {\r\n return Math.random().toFixed(16).slice(2);\r\n}\r\n\r\nfunction str32() {\r\n return randomString() \u002B randomString();\r\n}\r\n\r\nvar J = 0;\r\nvar repo = new Array(256).fill(0).map(str32);","TestCases":[{"Name":"undefined","Code":"generate_guid()","IsDeferred":false},{"Name":"empty string","Code":"generate_guid(\u0027\u0027)","IsDeferred":false},{"Name":"random out of 1000","Code":"generate_guid(repo[J\u002B\u002B \u0026 255])","IsDeferred":false}]}