console.log The reason why there is no response is because you are generating code and running it in HTML. JavaScript running in ejs must be wrapped.
I don’t know if you want to run it in ejs or the generated HTML.
If it is ejs:
<% var querystring = require('querystring'); %>
<%= querystring('...') %>
If it is HTML, use it the same way you usually write JavaScript. Either put it on the server and import it through a link or package it into a bundle and import it.
console.log
The reason why there is no response is because you are generating code and running it in HTML. JavaScript running in ejs must be wrapped.I don’t know if you want to run it in ejs or the generated HTML.
If it is ejs:
If it is HTML, use it the same way you usually write JavaScript. Either put it on the server and import it through a link or package it into a bundle and import it.