{"ScriptPreparationCode":"\r\nconsole.log(\u0027\u0027);","TestCases":[{"Name":"lodash","Code":"const value = _.camelCase(\u0027Foo Bar\u0027);\r\nconsole.log(value);","IsDeferred":false},{"Name":"regular","Code":"function camelize(str) {\r\n return str.replace(/(?:^\\w|[A-Z]|\\b\\w|\\s\u002B)/g, function (match, index) {\r\n if (\u002Bmatch === 0) return \u0022\u0022; // or if (/\\s\u002B/.test(match)) for white spaces\r\n return index == 0 ? match.toLowerCase() : match.toUpperCase();\r\n });\r\n }\r\n\r\nconst value = camelize(\u0027Foo Bar\u0027);\r\nconsole.log(value);","IsDeferred":false}]}