if (!!(func = classDef[functionName]))
if ((func = classDef[functionName]) !== null )
func = classDef[functionName]; if (func !== null )