3 ms·
Let me put it in code terms. In the following template script: <div>@hello</div> The generated code can be like (not including runtime lib): var ___h
by esailija 13y ago
Let me put it in code terms. In the following template script:
<div>@hello</div>
The generated code can be like (not including runtime lib):
var ___html = "";
var hello = hasown.call(data, "hello") ? data.hello : "";
___html += '<div>' +
safeString(hello, HTML_GENERIC) +
'</div>';
return ___html;
Which gives same effect as `with`.