Skip to main content
6 events
when toggle format what by license comment
May 12, 2019 at 14:46 comment added sfdcfox @MayankParnami If you do something like console.log('return value is: '+data), it calls toString(), which for an object returns [object Object]. If you want to log a value to the console, do not use the + operator in order to examine the data.
May 12, 2019 at 14:40 comment added Mayank Parnami When i was writting console.log(response.getReturnValue()); it was showing [object object] [object object] and not the exact value on console. Hence, my question is while displaying, how it works without syltringify
May 12, 2019 at 14:36 comment added sfdcfox @MayankParnami I didn't understand your question?
May 12, 2019 at 14:33 comment added Mayank Parnami Thanks sfdcfox, stringify removal worked. However i am curious on front end data is only visible with stringify in place. Thanks again.
May 12, 2019 at 14:32 vote accept Mayank Parnami
May 12, 2019 at 14:08 history answered sfdcfox CC BY-SA 4.0