check if a function is missing an argument javascript code example Example: how to check for missing parameter javascript a = a || "AAA";