Monday 13 March 2017

How to extract value from an Object in Javascript

I am querying my db in node and have got the result in the form of an object like this - [ [1234] ].

I want to extract this value and convert it into a string and then pass it onto the client side. I have written the other required code but I am not able to get value from this object. Can anyone help me in getting the value and converting it to string?



via Dalton2

No comments:

Post a Comment