showing results for - "touppercase examples c2 b6"
Lyle
27 Jan 2020
1//The general syntax for this method is:
2
3stringName.toUpperCase();
4/*This method returns a copy of stringName with all lowercase letters 
5replaced by their uppercase counterparts. It leaves non-alphabetic 
6characters unchanged.*/
7
8console.log("LaunchCode".toUpperCase());
9console.log("launchcode".toUpperCase());
10console.log("LaunchCode's LC101".toUpperCase());
11
12//LAUNCHCODE
13//LAUNCHCODE
14//LAUNCHCODE'S LC101