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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #uppercase #js
ADD COMMENT
Topic
Name
4+5 =