B2G/gecko/browser/devtools/scratchpad/scratchpad.js
/**
   * Evaluate a string in the currently desired context, that is either the
   * chrome window or the tab content window object.
   *
   * @param string aString
   *        The script you want to evaluate.
   * @return mixed
   *         The script evaluation result.
   */
Evaluate a string in the currently desired context, that is either the
chrome window or the tab content window object.

@param string aString
The script you want to evaluate.
@return mixed
The script evaluation result.
Evaluate a string in the currently desired context that is either the chrome window or the tab content window object . @param string aString The script you want to evaluate . @return mixed The script evaluation result .
function SP_evaluateForContext(aString)
  {
    return this.executionContext == SCRATCHPAD_CONTEXT_CONTENT ?
           this.evalInContentSandbox(aString) :
           this.evalInChromeSandbox(aString);
  }
function SP_evaluateForContext ( aString ) { return this . executionContext == SCRATCHPAD_CONTEXT_CONTENT ? this . evalInContentSandbox ( aString ) : this . evalInChromeSandbox ( aString ) ; }
Evaluate a string in the currently desired context, that is either the
 chrome window or the tab content window object.
Evaluate a string in the currently desired context that is either the chrome window or the tab content window object .