prototype
Array.prototype.contains = function Array$contains(value) { ... }
this
this.source = eventSource;
Object.serialize = function Object$serialize(object) { ... }
applyPadding
applyFormat
String.format = function String$format(value) { function applyPadding(string, count, character, direction) { ... } function applyFormat() { ... } return String(value).replace(String.RX_FORMAT, applyFormat); }