ributes passed as the second argument</a></h3>
<p>You can pass attributes, properties, events and lifecycle hooks in the second, optional argument (see the next sections for details).</p>
<pre><code class=language-JS>m(&quot;button&quot;, {
    class: &quot;my-button&quot;,
    onclick: function() {/* ... */},
    oncreate: function() {/* ... */}
})</code></pre>
<p>If the value of such an attribute is <code>null</code> or <code>undefined</code>, it is treated as if the attribute was absent.</p>
<p>If there 