Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

to uppercase js

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: #uppercase #js
ADD COMMENT
Topic
Name
9+5 =