Javascript is this a vaild call?
<p>I know that when getting <code>return</code> data from <code>webmethods</code> in javascript this code is valid, but how about if it is a return from another js method?</p>

<p>The <code>alert</code> is never ran so I am thinking no, but I want to make sure it is this and not other code throwing the error:</p>

<pre><code>function previousWinner() {
    //Webservice call
    services.isUserAWinner(ID, events, function (response) {
           //Code

            //Return
            return true;
        }
        //Return
        return false;
    });
}
</code></pre>

<p>And later in my code I call this</p>

<pre><code>  previousWinner(function (response) {
        alert(response);
        //Check to see if user is a winner
        if (!response) {
            //Check likes
            hasUserLiked();
        }
    });
</code></pre>

<p>Does <code>previousWinner(function (response) {</code> only work on web method calls? </p>
