B2G/gecko/toolkit/devtools/Console.jsm
/**
 * Take the output from parseStack() and convert it to nice readable
 * output
 *
 * @param {object[]} aTrace
 *        Array of trace objects as created by parseStack()
 * @return {string} Multi line report of the stack trace
 */
Take the output from parseStack() and convert it to nice readable
output

@param {object[]} aTrace
Array of trace objects as created by parseStack()
@return {string} Multi line report of the stack trace
Take the output from parseStack () and convert it to nice readable output @param { object [] } aTrace Array of trace objects as created by parseStack () @return { string } Multi line report of the stack trace
function formatTrace(aTrace) {
  let reply = "";
  aTrace.forEach(function(frame) {
    reply += fmt(frame.file, 20, 20, { truncate: "start" }) + " " +
             fmt(frame.line, 5, 5) + " " +
             fmt(frame.call, 75, 75) + "\n";
  });
  return reply;
}
function formatTrace ( aTrace ) { let reply = "" ; aTrace . forEach ( function ( frame ) { reply += fmt ( frame . file , 20 , 20 , { truncate : "start" } ) + " " + fmt ( frame . line , 5 , 5 ) + " " + fmt ( frame . call , 75 , 75 ) + "\n" ; } ) ; return reply ; }
Take the output from parseStack() and convert it to nice readable
 output
Take the output from parseStack () and convert it to nice readable output