Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 462 Bytes

camelCase.md

File metadata and controls

32 lines (20 loc) · 462 Bytes

strings.camelCase

camelCase([string])

camelCase updates a string to camelcase

Arguments

  1. [string] (string): input string

Returns

(string): returns new camelCase string

Example

const result = strings.camelCase('--BEST_friend--');
console.log(result);
> 'bestFriend'