Let’s say you have a string variable named ‘a’ with value “CODESOURCE.IO”.
var a = "CODESOURCE.IO";
In order to convert the string to lowercase letters, you can use the
var a = "CODESOURCE.IO"; console.log(a.toLowerCase());
toLowerCase() method functions by converting a string to lowercase letters.
Static code analysis is a method of debugging by examining source code before a program is run. It's done by analyzing a set of code against a set (or multiple sets) of coding rules. Static code analysis and static analysis are often used interchangeably, along with source code analysis.