How do I include multiple statements in a thin arrow function?
<p>This works:</p>

<pre><code>&lt;script&gt;
    $(modal).on("click", 'input[type="submit"]', (e) -&gt;
        modal.modal('hide'))
&lt;/script&gt;
</code></pre>

<p>But how do I to additionally include an <code>alert("Success!")</code> in the above, so that it both hides the modal and then displays an alert when submit is clicked?</p>