How does nodejs replace the variable of js in html

nodejs loads a html file (which contains some js data)

change some variables in the js code before nodejs sends the html to the browser

Mar.04,2021
What does

actually do? I think this demand is unreasonable

Menu