var sayHi function person alert Привет person sayHi Вася

1
2
3
4
5
var sayHi = function(person) {
alert("Привет, " + person);
};
sayHi('Вася');