Capitalize the first letter of string using JavaScript

If you come across a scenario where you need to Capitalize the first letter of string using JavaScript then you could easily perform this in one-liner using built-in string methods of JavaScript. Capitalize the...