I'm trying to learn JavaScript by going through some code in an application and I keep seeing !variable
in if conditions. For example:
if (!variable.onsubmit || (variable.onsubmit() != false)) {
What is it? Some kind of test if the variable is empty?