What could happen if my template looks for variables which weren't assigned?
For example:
var id = '{$tpl_id}';
This snippet is from my javascript code. I outputted the value and it is simply empty. I know I could use isset(). But I couldn't find anything about how Smarty handles non-existing variables. So, what happens if a template can't find a variable, because it wasn't assigned?