How would you check for undefined property in ejs for node.js?

后端 未结 4 1772
清歌不尽
清歌不尽 2020-12-13 23:53

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         


        
4条回答
提交回复
热议问题