For functions, there aren't any type checks, either.
function funktionX(a, b, c) {
... //If only two parameters
are submitted,
//the variable c has the value "undefined"
(string)
if (a == 1) return "1";
else return false;
}
...
x = funktionX(a, b);
...