prototype()

Array.prototype.diff(meaCulpa)

So, it turns out that when you go off all half-cocked all willy-nilly extending a core functionality of JavaScript it's bound to result in a hiccup now and then. It was, then, a few days after posting about my new 'diff' function that I found my JavaScript choking on exactly…

Array.prototype.diff()

Sometimes in the day to day you find some problem that is just fun to try to solve without a Google (Stack Overflow) search. Recently the problem I needed to solve was this: I have a list of 'feed' items on a page where a long poll is watching for…