en.javascript.info/1-js/4-data-structures/3-string/1-ucfirst/task.md
Ilya Kantor 2b874a73be ok
2016-03-09 00:16:22 +03:00

205 B

importance: 5


Uppercast the first character

Write a function ucFirst(str) that returns the string str with the uppercased first character, for instance:

ucFirst("john") == "John";