What is the best way to check for an undefined property in an ejs template?
(I\'m using the node.js package by TJ Holowaychuk)
Example:
var t
Simplest, and cleanest in my opinion:
<%= (!!locals.foo)?foo:'' %>