global variable stays empty
<p>I have a piece of javascript code where I retrieve a list of employees via an ajax-call.</p>

<pre><code>var employees_json = '';

Ajax.callbackAsync('getEmployees', ['2627016'],
    function(response){
        employees_json = response;

        console.log('this: '+ employees_json);
    },
    function(error){
        alert('Error while retrieving employees: '+ error);
    }
);

console.log('that: '+ employees_json);
</code></pre>

<p>(2627016 is the branch_id)</p>

<p>the output on the console: </p>

<pre><code>this: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
that: 
</code></pre>

<p>Why is employees_json empty outside the ajax-call?<br>
Or have I made a type I don't see!?!</p>
