title: Can you perform a ternary expression in a javascript string interpolation?
body: <p>I have this variable :</p>
  
  <pre><code>var foobar = "Hi, my name is #{name}";
  </code></pre>
  
  <p>But if name is not defined at load of the page.. I'd like it to save "unknown" instead.</p>
  
  <p>But writing something like this :</p>
  
  <pre><code>var foobar = "Hi, my name is #{typeof name === 'undefined' ? 'unknown' : name}";
  </code></pre>
  
  <p>Still returns the error, <code>unknown variable name</code></p>