aaronsnoswell/csvjson.js — pull request #3 by funkjedi (2011-12-30 16:22:34+00:00)
Title: Fixed for in loops to filter out inherited properties

The for in statement loops through the names of all of the properties of an object including those inherited through the prototype chain. This leads to unexpected items in your loop so it is generally safer to always filter the inherited properties out.

See http://javascriptweblog.wordpress.com/2011/01/04/exploring-javascript-for-in-loops/