I have the following which is working as intended:
<%= employee.title %>, Support Member
I am trying to add a conditional such as:
<% if(!employee.title.includes('Junior')){ %>
employee.title
<% } %>
Support Member
However it seems that it no longer has access to "employee" as it prints out the literal "employee.title".
I have referred to this thread for syntax help but have had no luck. Does anyone spot my issue? I couldn't find documentation help online.