Javascript String first()
first()
String.prototype.first = function () { return this[0] || null; };
String.prototype.first = function() { return this[0]; };