-
Array.prototype.diff()
When you need to highlight new feed items but don't want to Google the solution—build your own Array.prototype.diff() method. A fun problem-solving approach to comparing arrays, complete with real-world examples of long-polling feeds and the satisfaction of solving it yourself.