{"ScriptPreparationCode":"path = \u0027Ends/with/a/slash/\u0027\r\n\r\n","TestCases":[{"Name":"EndsWith","Code":"path = path.endsWith(\u0027/\u0027) ? path.slice(0, -1) : path","IsDeferred":false},{"Name":"RegEx","Code":"path = path.replace(/\\/$/, \u0027\u0027)","IsDeferred":false}]}