alabilirim. Gerçekten basit bir problemim var, ama bunu nasıl yapacağımı bilmem gerekiyor. Benim hırsları: Konsolda ayrıntıları "[object Object]" yerine
var test_obj = {
'test' : 't',
'test2' : 't2'
}
/*
when i log a object it often gives me somthing like this:
[object Object]
but if i want to take a look into the object, i want to see (for test_obj):
{ 'test' : 't', 'test2' : 't2' }
*/
Bunu nasıl giriş yaptığını? –
'JSON.stringify (test_obj)' – Wainage
Chrome’daysanız, konsoldaki nesneyi tıklayarak nesne nesnesini genişletebilirsiniz, değil mi? –