how to check parameter set in function in javascrit code example Example: how to check for missing parameter javascript a = a || "AAA";