uppercase javascript
var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!
uppercase javascript
var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!
title case javascript
function titleCase(str) {
return str
.split(' ')
.map((word) => word[0].toUpperCase() + word.slice(1).toLowerCase())
.join(' ');
}
console.log(titleCase("I'm a little tea pot")); // I'm A Little tea Pot
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us