print variable returned by server in node.js
|Added at||2016-12-22 18:12|
I'm creating a node.js app.
I have a list with 4 types of movies (see below).
When I click one of these types I make a call to the server, then the server retrieves from a database the movies of that type and sends me back the result. On my client side I can correctly see the result the server has sent me but I can't loop over the result in order to print all the movies to the screen.