{"ScriptPreparationCode":"var re = /./gi;\r\nfunction mapReplace(value) {\r\n return value.split(\u0022\u0022).map((x, index, arr) =\u003E \u0022*\u0022).join(\u0022\u0022)\r\n}\r\n\r\nfunction makeArrayReplace(value) {\r\n return (new Array(value.length)).fill(\u0022*\u0022).join(\u0022\u0022);\r\n}\r\n\r\nfunction regexReplace(value) {\r\n return value.replace(re, \u0022*\u0022);\r\n}","TestCases":[{"Name":"Map replace","Code":"const input = \u0022abcdefghijklmnopqrstuvwxyz\u0022;\r\n\r\nmapReplace(input);","IsDeferred":false},{"Name":"Regex replace","Code":"const input = \u0022abcdefghijklmnopqrstuvwxyz\u0022;\r\n\r\nregexReplace(input);","IsDeferred":false},{"Name":"Make array replace","Code":"const input = \u0022abcdefghijklmnopqrstuvwxyz\u0022;\r\n\r\nmakeArrayReplace(input);","IsDeferred":false}]}