how to carry data in node js code example
Example: send variable data from node js to front end javascript
<script>
window.app = <%- JSON.stringify(data) %>
</script>
<script>
window.app = <%- JSON.stringify(data) %>
</script>