{"ScriptPreparationCode":null,"TestCases":[{"Name":"Template string slicing","Code":"const id = \u002710135533-2332-4012-aada-b36571a05399\u0027;\r\n\r\n\u0060${id.slice(1, 8)}${id.slice(9, 13)}${id.slice(15, 18)}\u0060","IsDeferred":false},{"Name":"Array push and join","Code":"const id = \u002710135533-2332-4012-aada-b36571a05399\u0027;\r\n\r\nconst timeStampParts = []\r\n const chars = id.split(\u0027\u0027)\r\n let index = 0\r\n\r\n for (const char of chars) {\r\n if (\r\n (index !== 0 \u0026\u0026 index \u003C 8) ||\r\n (index \u003E= 9 \u0026\u0026 index \u003C 13) ||\r\n (index \u003E= 15 \u0026\u0026 index \u003C 18)\r\n ) {\r\n timeStampParts.push(char)\r\n }\r\n index \u002B= 1\r\n }\r\n\r\nconst timestamp = timeStampParts.join(\u0027\u0027)","IsDeferred":false},{"Name":"Array join","Code":"const id = \u002710135533-2332-4012-aada-b36571a05399\u0027;\r\n[id.slice(1, 8), id.slice(9, 13), id.slice(15, 18)].join(\u0027\u0027)","IsDeferred":false}]}