Javascript – how to render a object an ejs template
I am trying to render a trip object in an EJS template, but, I am getting the error "ReferenceError: trip is not defined." I have passed the trip object to the EJS template as a parameter, and I have checked…