camelCaseFunction(data){
- var arr = data.split(/[_]/);
- var newStr = "";
- for (var i = 0; i < arr.length; i++) {
- newStr += arr[i].charAt(0).toUpperCase() + arr[i].slice(1) +(',');
- }
- newStr = newStr.replace("-"," ")
- return newStr;
}
How we can listen to som eevents some envents fire like click or automatically user enters into input button , that is event on word type i...
No comments:
Post a Comment