Why won't this function work in an Object-Oriented style of javascript?
<p>I am trying to access the function as a method of the person object why won't it access the method and do what the function is supposed to do?
    </p>

<pre><code>function Person(name, age, location) {
this.name= name;
this.age = age;
this.location = location;
this.test = function() {
    alert("TEST");
};

}   
var Matt = new Person("Matthew", "21", "South Africa");
Matt.test;
</code></pre>

<p></p>
