I have a variable I am sending to the client side via res.render()
.
My question is if I have an external JS file that I use for that HTML page, how can I grab the EJS variables that I had send via res.render()
.
Thanks!
I have a variable I am sending to the client side via res.render()
.
My question is if I have an external JS file that I use for that HTML page, how can I grab the EJS variables that I had send via res.render()
.
Thanks!