📅  最后修改于: 2022-03-11 15:03:21.208000             🧑  作者: Mango
/**
* @param {string=} somebody - Somebody's name.
*/
function sayHello(somebody) {
if (!somebody) {
somebody = 'John Doe';
}
alert('Hello ' + somebody);
}