Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 16th, 2012  |  syntax: None  |  size: 0.44 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ node test.js
  2.  
  3. node.js:134
  4.         throw e; // process.nextTick error, or 'error' event on first tick
  5.         ^
  6. TypeError: Cannot convert object to primitive value
  7.     at String.STRING_ADD_LEFT (native)
  8.     at isRegExp (util.js:287:14)
  9.     at format (util.js:184:11)
  10.     at util.js:216:19
  11.     at Array.map (native)
  12.     at format (util.js:193:23)
  13.     at util.js:216:19
  14.     at Array.map (native)
  15.     at format (util.js:193:23)
  16.     at util.js:216:19