Isn't this `function(value, propName)` instead? The second param is the name of the property, not an index value.