/p>
<p>You can also create a <em>subclass</em> from any existing class by calling
its <code>extend()</code> method. For example, you might want to create a subclass
of Ember's built-in <a href="https://api.emberjs.com/classes/Ember.Component.html"><code>Ember.Component</code></a> class:</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/components/todo-item.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token keyword">ex