js array capital letters code example
Example 1: javascript separate words by capital letter
"thisIsATrickyOne".split(/(?=[A-Z])/);
Example 2: how to convert array to uppercase in javascript
var a = ['this','is','test'];
a.map(f=>{ return f.toUpperCase(); });