My bad..Here you go with the screen for console.
Hi Sowmen,
Thanks it helps a lot.
In accordance to your screen shot here is code to get "text":
pre
//Store value in textValue variable for further use.
var textValue = data.rows[0].elements[0].distance.text;
/pre
Note: this code require this object to be exists. If you will not have any of these objects - you need to wrap this code with "try-catch" instructions.
Regards.