Write to_camel(name) that converts "total_sales_amount" to "totalSalesAmount".
to_camel(name)
"total_sales_amount"
"totalSalesAmount"
to_camel('total_sales_amount') → 'totalSalesAmount'
to_camel('id') → 'id'
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.