B2G/gecko/browser/devtools/webconsole/webconsole.js
/**
   * Writes a JS object to the JSTerm outputNode.
   *
   * @param string aOutputMessage
   *        The message to display.
   * @param function [aCallback]
   *        Optional function to invoke when users click the message.
   * @param nsIDOMNode [aNodeAfter]
   *        Optional DOM node after which you want to insert the new message.
   *        This is used when execution results need to be inserted immediately
   *        after the user input.
   * @param number [aTimestamp]
   *        Optional timestamp to show for the output message (millisconds since
   *        the UNIX epoch). If no timestamp is provided then Date.now() is
   *        used.
   * @return nsIDOMNode
   *         The new message node.
   */
Writes a JS object to the JSTerm outputNode.
@param string aOutputMessage
The message to display.
@param function [aCallback]
Optional function to invoke when users click the message.
@param nsIDOMNode [aNodeAfter]
Optional DOM node after which you want to insert the new message.
This is used when execution results need to be inserted immediately
after the user input.
@param number [aTimestamp]
Optional timestamp to show for the output message (millisconds since
the UNIX epoch). If no timestamp is provided then Date.now() is
used.
@return nsIDOMNode
The new message node.
Writes a JS object to the JSTerm outputNode . @param string aOutputMessage The message to display . @param function [ aCallback ] Optional function to invoke when users click the message . @param nsIDOMNode [ aNodeAfter ] Optional DOM node after which you want to insert the new message . This is used when execution results need to be inserted immediately after the user input . @param number [ aTimestamp ] Optional timestamp to show for the output message ( millisconds since the UNIX epoch ) . If no timestamp is provided then Date . now () is used . @return nsIDOMNode The new message node .
function JST_writeOutputJS(aOutputMessage, aCallback, aNodeAfter, aTimestamp)
  {
    let node = this.writeOutput(aOutputMessage, CATEGORY_OUTPUT, SEVERITY_LOG,
                                aNodeAfter, aTimestamp);
    if (aCallback) {
      this.hud.makeOutputMessageLink(node, aCallback);
    }
    return node;
  }
function JST_writeOutputJS ( aOutputMessage , aCallback , aNodeAfter , aTimestamp ) { let node = this . writeOutput ( aOutputMessage , CATEGORY_OUTPUT , SEVERITY_LOG , aNodeAfter , aTimestamp ) ; if ( aCallback ) { this . hud . makeOutputMessageLink ( node , aCallback ) ; } return node ; }
Writes a JS object to the JSTerm outputNode.
Writes a JS object to the JSTerm outputNode .