codemeasandwich / scribbles

scribbles is a log and tracing lib for Node
MIT License
10 stars 0 forks source link

print an object, is missing props what are functions #10

Closed codemeasandwich closed 1 year ago

codemeasandwich commented 1 year ago

Example

const scribbles = require('scribbles');

function boo(){}
var exp = { 
  a:()=>{},
  b:null,
  c:"",
  d:undefined,
  e:boo
}
scribbles.log(exp)

// { "b":null, "c":"" }

Also why are the property names in quotes?

Maybe, It should look like // exp { a: ƒ, b: null, c: "", d: undefined, e: f boo() }

codemeasandwich commented 1 year ago

fixed in: 730e3c80915232e6a406f6e9bd8db3be429d5266