{"ScriptPreparationCode":null,"TestCases":[{"Name":"split","Code":"var type = \u0027cost_revenue\u0027\r\nvar kebabCasedType = type.includes(\u0027_\u0027) ? type.split(\u0027_\u0027).join(\u0027-\u0027) : type","IsDeferred":false},{"Name":"regex","Code":"var type = \u0027cost_revenue\u0027\r\nvar kebabCasedType = type.replace(/_/g, \u0027-\u0027)","IsDeferred":false}]}