{"ScriptPreparationCode":"// There are 100 more files\r\nvar filePaths = new Array(250).fill(\u0027\u0027).map(() =\u003E\r\n (crypto.randomUUID() \u002B crypto.randomUUID())\r\n .slice(0, 32)\r\n .replace(/c/g, \u0027.\u0027)\r\n .replace(/(0|9|a)/g, \u0027/\u0027),\r\n);\r\nvar fileExt;","TestCases":[{"Name":"String.split","Code":"for (const path of filePaths) {\r\n const args = path.split(\u0027.\u0027);\r\n fileExt = args[args.length - 1];\r\n}","IsDeferred":false},{"Name":"String.split (one-liner, mutation)","Code":"for (const path of filePaths) {\r\n fileExt = path.split(\u0027.\u0027).pop();\r\n}","IsDeferred":false},{"Name":"Regex.exec","Code":"for (const path of filePaths) {\r\n fileExt = /\\.([^\\.]\u002B)$/.exec(path)?.[1];\r\n}","IsDeferred":false}]}