Well i did get it to validate but i had to totally remove the && entirely. I tried wrapping in () as well as other attemps but encase them but no good. I have never seen that happen before.
So this is the new code, it does seem to work but hope i didnt mess it up lol
PHP Code:
function bundleFunction(context, func, args)
{
context = context || null;
if(typeof func == "string")
{
if(context)
{
func = context[func];
}//close if
}//close if