Combining ES6 unicode literals with ES6 template literals
<p>If I want to print a unicode Chinese character in ES6/ES2015 javascript, I can do this:</p>

<pre><code>console.log(`\u{4eb0}`);
</code></pre>

<p>Likewise, if I want to interpolate a variable into a template string literal, I can do this:</p>

<pre><code>let x = "48b0";
console.log(`The character code is ${ x.toUpperCase() }.`);
</code></pre>

<p>However, it seems that I can't combine the two to print a list of, for example, 40 consecutive unicode Chinese characters. This doesn't work:</p>

<pre><code>for (let i = 0, firstCharCode = parseInt("4eb0", 16); i &lt; 40; ++i) {
    let hexCharCode = (firstCharCode + i).toString(16);
    console.log(`\u{${ hexCharCode }}`); // generates SyntaxError
}
</code></pre>

<p>So I'm asking if there's any way it's possible.</p>