Answers for "snake case toUpperCase function javascript"

49

uppercase javascript

var str = "Hello World!";
var res = str.toUpperCase();  //HELLO WORLD!
Posted by: Guest on July-30-2020
2

capitalize name function javascript

function capitalizeName(name) {
	let nameObject = convertNameToObject(name);
	let firstName = nameObject.firstName;
	let lastName = nameObject.lastName;

	return firstName[0].toUpperCase() + firstName.substring(1, firstName.length).toLowerCase() + " " + lastName[0].toUpperCase() + lastName.substring(1, lastName.length).toLowerCase()
Posted by: Guest on October-20-2021
0

javascript string to uppercase

var string = "To Upper Case";
console.log(string.toUpperCase()); // TO UPPER CASE
Posted by: Guest on June-19-2021

Code answers related to "snake case toUpperCase function javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language