Fork me on GitHub Fork me on GitHub

<% %>


<%
    var total = 1 + 1;
    print(total);
%>

Overview

<% %> are the escaping characters for Jaggery. All the server-side code need to be wrapped by these escape characters, so that they will execute correctly in the server.