Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### toCamelCase
|
||||
---
|
||||
title: toCamelCase
|
||||
tags: string,regexp,intermediate
|
||||
---
|
||||
|
||||
Converts a string to camelcase.
|
||||
|
||||
@ -21,4 +24,4 @@ toCamelCase('some_database_field_name'); // 'someDatabaseFieldName'
|
||||
toCamelCase('Some label that needs to be camelized'); // 'someLabelThatNeedsToBeCamelized'
|
||||
toCamelCase('some-javascript-property'); // 'someJavascriptProperty'
|
||||
toCamelCase('some-mixed_string with spaces_underscores-and-hyphens'); // 'someMixedStringWithSpacesUnderscoresAndHyphens'
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user