In Express.js, how are EJS templates rendered?

In Express.js, how are EJS templates rendered?
A . res.send(templateName, data)
B . res.render(templateName, data)
C . res.ejs(templateName, data)
D . res.template(templateName, data)

Answer: B

Latest 030-100 Practice Questions with 80 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments