I've this global function in my site
function formatDate(_date) {
return _date.getFullYear() + '/' + (_date.getMonth() + 1) + '/' + _date.getDate();
}
When I try to use it in the IDE with the following command
<tr>
<td>type</td>
<td>id=comments</td>
<td>javascript{"e2e-" + formatDate(new Date())}</td>
</tr>
and I run the test then the IDE stay in that command forever but do not execute it.
What I'm doing wrong?