Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js to uppercase

const string = "A string";

const upperCase = string.toUpperCase();
console.log(upperCase); // -> A STRING

const lowerCase = string.toLowerCase();
console.log(lowerCase); // -> a string
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #js #uppercase
ADD COMMENT
Topic
Name
2+6 =