{"ScriptPreparationCode":null,"TestCases":[{"Name":"Regex","Code":"const str = \u0022test/\u0022; str.replace(/\\/$/, \u0027\u0027)","IsDeferred":false},{"Name":"endsWith","Code":"const str = \u0022test/\u0022; if (str.endsWith(\u0027/\u0027)) str.slice(0, -1)","IsDeferred":false},{"Name":"regex neg","Code":"const str = \u0022test\u0022; str.replace(/\\/$/, \u0027\u0027)","IsDeferred":false},{"Name":"endsWith neg","Code":"const str = \u0022test\u0022; if (str.endsWith(\u0027/\u0027)) str.slice(0, -1)","IsDeferred":false}]}