Javascript String capitalizeAll()
capitalizeAll()
String.prototype.capitalizeAll = function () { return this.split(' ').map(word => word.capitalize()).join(' ') }