I ran into a very basic problem but I can\'t seem to find the answer to it. I am working with node.js, express and I am just trying to pass a local var
node.js
express
h1 = title tries to evaluate it locally, the title you sent and that one is different. To understand the difference see:
- var title = 'my title' // - allows writing code h1 = title
The one you should use is:
h1 #{title}