(specifier)
| 9554 | formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof |
| 9555 | |
| 9556 | function FormatSpecifier(specifier) { |
| 9557 | this.fill = specifier.fill === undefined ? " " : specifier.fill + ""; |
| 9558 | this.align = specifier.align === undefined ? ">" : specifier.align + ""; |
| 9559 | this.sign = specifier.sign === undefined ? "-" : specifier.sign + ""; |
| 9560 | this.symbol = specifier.symbol === undefined ? "" : specifier.symbol + ""; |
| 9561 | this.zero = !!specifier.zero; |
| 9562 | this.width = specifier.width === undefined ? undefined : +specifier.width; |
| 9563 | this.comma = !!specifier.comma; |
| 9564 | this.precision = specifier.precision === undefined ? undefined : +specifier.precision; |
| 9565 | this.trim = !!specifier.trim; |
| 9566 | this.type = specifier.type === undefined ? "" : specifier.type + ""; |
| 9567 | } |
| 9568 | |
| 9569 | FormatSpecifier.prototype.toString = function() { |
| 9570 | return this.fill |
nothing calls this directly
no outgoing calls
no test coverage detected