{"ScriptPreparationCode":null,"TestCases":[{"Name":"Replace","Code":"let str = \u0022someverylongstringthatkeepsonlistingwordsthatdonotserveranyspecificpurposeotherthantestingpurposeforperformancedidyouknowthatsomeverylongstringcouldbegoingonforeverwhenandonlywhen$\u0022;\r\nfor (let i = 0; i \u003C 500000; \u002B\u002Bi) {\r\n str = str.replace(\u0027$\u0027, \u0027\u0027);\r\n}","IsDeferred":false},{"Name":"Substr","Code":"let str = \u0022someverylongstringthatkeepsonlistingwordsthatdonotserveranyspecificpurposeotherthantestingpurposeforperformancedidyouknowthatsomeverylongstringcouldbegoingonforeverwhenandonlywhen$\u0022;\r\nfor (let i = 0; i \u003C 500000; \u002B\u002Bi) {\r\n str = str.substr(0, str.length-1);\r\n}","IsDeferred":false},{"Name":"Slice","Code":"let str = \u0022someverylongstringthatkeepsonlistingwordsthatdonotserveranyspecificpurposeotherthantestingpurposeforperformancedidyouknowthatsomeverylongstringcouldbegoingonforeverwhenandonlywhen$\u0022;\r\nfor (let i = 0; i \u003C 500000; \u002B\u002Bi) {\r\n str = str.slice(0, -1);\r\n}","IsDeferred":false}]}