How can I retrieve the properties of a data object in EJS/node.js?
|Added at||2017-01-04 16:01|
I am passing a data object, as a parameter, to the render method, and assigning to it the variable name "values".
The console prints the following results object value:
In my EJS template file, I reference this object to retrieve its property values:
On my index page, the following string is printed:
How can I retrieve the isolated integer value, 13.75, directly from the data object?