how to make function return more than one value
<p>This is my code:</p>

<pre><code>var Evalcard =  function(number) {
    if (number == 1) {
        this.name = "Ace";
        this.value = 11;
    }
    else if (number == 11) {
        this.name = "Jack";
        this.value = 10;
    }
    else if (number == 12) {
        this.name = "Queen";
        this.value = 10;
    }
    else if (number == 13) {
        this.name = "King";
        this.value = 10;
    }

    return {this.name,this.value};
</code></pre>

<p>I'm pretty sure this <code>return</code> statement is not correct. How do you make a function return more than one value? Any help at all would be great.</p>
