lass="cm-variable">console</span>.<span class="cm-property">log</span>(<span class="cm-variable">a</span>.<span class="cm-property">x</span> <span class="cm-operator">+</span> <span class="cm-variable">a</span>.<span class="cm-property">y</span>); <span class="cm-comment">// &#xC131;&#xACF5;</span>
</code></pre>
<p>&#xB2E8;, &#xD0C0;&#xC785; &#xBCC4;&#xCE6D; (<code>type s = string;</code>)&#xC5D0;&#xB294; &#xC778;&#xD130;&#xD398;&#xC774;&#xC2A4;&#xB97C; &#xC0AC;&#xC6A9;&#xD574;&#xC11C; &#xCD94;&#xAC00;&#xD5