javascript check if is a funciton code example Example: check if function javascript variableToCheck instanceof Function