Function to log all properties of an object. Outputs one property per line.
Parameter | Type | Description |
---|---|---|
obj | Object | Object whose properties should be output to the log. |
name | String | Name to display for the object. |
includePrototype | Boolean | True to include object properties inherited from a prototype. |
0 Comments