Joined June 2013
·

Ale Bles

Backend Developer at Keesing Games
·
Amsterdam / Almere
·
·
·

Posted to Gameloop - the correct way over 1 year ago

Very nice! Didn't know this. To bad the cross browser compatibility is not 100% yet =(

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

Take note that .forEach and $.each are usually slower than a for loop. If performance is your thing, go for @gxorgxo solution.

http://jsperf.com/for-vs-foreach/37

Achievements
26 Karma
891 Total ProTip Views