What's wrong with this javascript code?
<pre><code>&lt;html&gt;
&lt;head&gt;

    &lt;script type="text/javascript"&gt;

    function Person (name, age) {
        this.name = name;
        this.age = age;
        this.sayName = function () {
            alert(this.name);
        }
    }    
    var person1 = new Person ("tom", 29);
    var person2 = new Person ("frank", 21);
    alert(person1.sayName==person2.sayName);

    &lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
