我如何从中获取数据[Object object]
?
这是我正在尝试做的一个例子。
// Get data with dirty
var data = db.get('/htmltest')
// My test.db file
{"key":"foo","val":"barwhat?"}
{"key":"/htmltest","val":{"title":"Html Test","content":"<span>This is HTML</span>"}}
// the console.log gives me [Object Object]
// How do I get it to show the content of title (Html Test)
console.log(data);