how to send data from ejs to 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>