Problem with javascript

I’m trying to display the current year on my email edge template. I have this © {{ (new Date()).getFullYear() }} {{ appName }} in my email edge template but I get InvalidExpressionException: E_INVALID_EXPRESSION: Invalid expression < (new Date()).getFullYear() >

How do I fix this?

Yeah, edge is bit reluctant to all Javascript expressions (something we will fix in upcoming version).

Any specific reasons to wrap new Date() inside parenthesis? Why not use following?

{{ new Date().getFullYear() }}