{"ScriptPreparationCode":null,"TestCases":[{"Name":"splice","Code":"var s = \u0022abcd/\u0022;\r\nif (s.charAt(s.length-1) === \u0027/\u0027) { s = s.slice(0, -1); }","IsDeferred":false},{"Name":"replace","Code":"var s = \u0022abcd/\u0022;\r\ns = s.replace(/\\/$/, \u0027\u0027);","IsDeferred":false}]}