{"ScriptPreparationCode":"var text = \u0027lorem ipsum dolor sit amet\u0027;","TestCases":[{"Name":"Vanila JS","Code":"function capitalize(text) {\r\n return text[0].toUpperCase() \u002B text.slice(1).toLowerCase();\r\n}\r\n\r\nvar result = capitalize(text);\r\n","IsDeferred":false},{"Name":"Ramada","Code":"const capitalize = R.when(\r\n R.is(String),\r\n R.pipe(R.toLower, R.replace(/^./, R.toUpper)),\r\n);\r\n\r\nvar result = capitalize(text);\r\n","IsDeferred":false}]}