Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Lowertoupper
// lowercase to upper case function lowertoupper(str){ var uppercase ="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; var lowercase ="abcdefghijklmnopqrstuvwxyz"; var bag =""; for(var i = 0; i < str.length; i++){ for(var j = 0; j < lowercase.length; j++){ if(str[i] == lowercase[j]){bag = bag + uppercase[j]; break;} } } return bag; } var arr = ["aws","certified","cloud","practitioner"]; var ARR =[]; for(var i = 0; i < arr.length; i++){ ARR.push(lowertoupper(arr[i])); ; } console.log(ARR);
run
|
edit
|
history
|
help
0
RFID TEST
fast function to reverse unsigned integer
neural spam network
Find the missing number in array
Rest Params
Funny stuff
Count digits
localhost:8080/?name=2017&lname=July
lodash
horsevalue