JS Function Wrapping
<p>Consider the following two code examples:</p>

<pre><code>// Example 1
$('#myButton').click(function() {
    alert('I was clicked');
});

// Example 2
$('#myButton').click(
    alert('I was clicked');
);
</code></pre>

<p>Why specifically does example 2 not work?</p>
