B2G/gecko/browser/devtools/scratchpad/scratchpad.js
/**
   * Execute the selected text (if any) or the entire editor content in the
   * current context. The resulting object is opened up in the Property Panel
   * for inspection.
   */
Execute the selected text (if any) or the entire editor content in the
current context. The resulting object is opened up in the Property Panel
for inspection.
Execute the selected text ( if any ) or the entire editor content in the current context . The resulting object is opened up in the Property Panel for inspection .
function SP_inspect()
  {
    let [selection, error, result] = this.execute();
    if (!error) {
      this.deselect();
      this.openPropertyPanel(selection, result);
    } else {
      this.writeAsErrorComment(error);
    }
  }
function SP_inspect ( ) { let [ selection , error , result ] = this . execute ( ) ; if ( ! error ) { this . deselect ( ) ; this . openPropertyPanel ( selection , result ) ; } else { this . writeAsErrorComment ( error ) ; } }
Execute the selected text (if any) or the entire editor content in the
 current context.
Execute the selected text ( if any ) or the entire editor content in the current context .