If I want to add a filter in ejs, I can to it like this: ``` ejs.filters.last = function(obj) { return obj[obj.length - 1]; }; ``` But if I want do it with ejs-mate, how to do this?
If I want to add a filter in ejs, I can to it like this:
But if I want do it with ejs-mate, how to do this?