function foo(x,y,z){
x = typeof x !== 'undefined' ? x : "string";
y = typeof y !== 'undefined' ? y : 123;
z = typeof z !== 'undefined' ? z : false;
}
x = typeof x !== 'undefined' ? x : "string";
y = typeof y !== 'undefined' ? y : 123;
z = typeof z !== 'undefined' ? z : false;
}
возможно у Вас отключен javascript, если включен - просто обновите страницу