Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Template literal notation uses the dollar sign and curly braces to signify a variable or an expression. For example: ${customerName} or ${customerName.trim()}.

EJS

...

EJS Syntax allows you to both control the instruction output and its flow. Use the <%- someOutput %> syntax to control the instruction output. Use the <% code %> to control the flow. Template literals can be used together with EJS syntax desired.

...