You need to sign in to do that
Don't have an account?

Using Console in chrome to view variable contents
I am wondering if there is a way to view a variables contents in the console in chrome? I am using the following line of code in my controller:
console.log('here is group structure list' + component.get("v.groupstructureList"));
When I look at the results in the console, I only see:
here is group structure list[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Is there a way to see the real contents of the variable?
thanks!!
Fred
console.log('here is group structure list' + component.get("v.groupstructureList"));
When I look at the results in the console, I only see:
here is group structure list[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Is there a way to see the real contents of the variable?
thanks!!
Fred
Fred