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
 
PREVIOUS NEXT
Tagged: #uppercase #js
ADD COMMENT
Topic
Name
3+6 =