src/primitives/output.js
function Output(options) {
  if (!(this instanceof Output))
    return new Output(options);

  this.value = 0;
  this.script = new Script();

  if (options)
    this.fromOptions(options);
}
function Output(options) {
  if (!(this instanceof Output))
    return new Output(options);

  this.value = 0;
  this.script = new Script();

  if (options)
    this.fromOptions(options);
}
function Output ( options ) { if ( ! ( this instanceof Output ) ) return new Output ( options ) ; this . value = 0 ; this . script = new Script ( ) ; if ( options ) this . fromOptions ( options ) ; }
Represents a transaction output.
@alias module:primitives.Output
@constructor
@param {NakedOutput} options
@property {Amount} value - Value in wmcoins.
@property {Script} script
Represents a transaction output .