code: function()
          {
              if ( zMIDI.isConnected() )
              {
                  var outputs = /** @type {Array.<MIDIOutput>} */ ( [] );
                  var iface   = zMIDI._interface;
  
                  if ( typeof iface.outputs === "function" )
                  {
                      outputs = iface.outputs();
                  }
                  else
                  {
                      var it = iface.outputs[ "values" ]();
  
                      for ( var o = it[ "next" ](); !o[ "done" ]; o = it[ "next" ]() ) {
                          outputs.push( o[ "value" ] );
                      }
                  }
                  return outputs;
              }
              zMIDI._handleConnectionFailure();
              return null;
          }
docs: retrieve all available MIDI output ports
  
  @public
  @return {Array.<MIDIOutput>}