     type = ''
 
   return {
-    'type': type
-    'message': msg
-    'backtrace': backtrace
+    'type': type,
+    'message': msg,
+    'backtrace': backtrace,
   }
 
 

# Chrome.
funcAliasFileLineColumnRe = /// ^
  \s{4}at\s
  (\S+)\s         # function
  \[as\s(\S+)\]\s # alias
  \(
    (.+):         # file
    (\d+):        # line
    (\d+)         # column
  \)
$ ///

# Chrome.
funcFileLineColumnRe = /// ^
  \s{4}at\s
  (\S+)\s   # function
  \(
    (.+):   # file
    (\d+):  # line
    (\d+)   # column
  \)
$ ///

# Firefox.
funcFileLineRe = /// ^
  (\S*)@ # function
  (.+):  # file
  (\d+)  # line
$ ///

# Chrome.

      else
        column = 0
      backtrace.push({
        function: m[1],
        file: m[2],
        line: parseInt(m[3], 10),
        column: column,
      })
      continue

