How to check if there is a function declared ? The function name is available in variable. Example:
var n = 'f1';
if (!functionExists(n)) {
//execute code when function not available
}
How to check if there is a function declared ? The function name is available in variable. Example:
var n = 'f1';
if (!functionExists(n)) {
//execute code when function not available
}