I need to loop over the properties of a javascript object. How can I tell if a property is a function or just a value?
var model = { propertyA: 123, pro