var q = "Ашот"; function ololo (name){ alert(name) } addEventListener('click', function(){ ololo(q) })