Joined June 2013
·
Posted to
Node.js Uncaught Exceptions
over 1 year
ago
Please remember to not continue the process afterwards (as per example), beause your program will end up in an undefined state.
Also see:
http://nodejs.org/api/process.html#process_event_uncaughtexception
Posted to
Logging Stuff with JS
over 1 year
ago
The Log actually outputs every parameter you put in
console.log(1,2,3,'foo','bar','baz',[], {} ,window);
https://developer.mozilla.org/en-US/docs/Web/API/console.log
Posted to
Neat way to loop through an array in JS
over 1 year
ago
Take note that .forEach and $.each are usually slower than a for loop. If performance is your thing, go for @gxorgxo solution.
Achievements
26 Karma
891 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Honey Badger
Have at least one original Node.js-specific repo
Very nice! Didn't know this. To bad the cross browser compatibility is not 100% yet =(