Variable name in function call in Javascript
<p>I'm trying to achieve the following pseudo code:</p>

<pre><code>function processAboutLink(){

}

function processServicesLink(){

}

var variableName = 'about';

process + variableName + Link();

var variableName = 'services';

process + variableName + Link();
</code></pre>

<p>I'm aware that the code above isn't real but is a logical representation. Can anyone point me in the right direction?</p>
