window.addEventListener("click", function("hello", function(e, mes) {
console.log(e);
console.log(mes);
}));
"hello" = mes
window.addEventListener("click", buildHandler('hello', bar));
function buildHandler(mes, cb) {
return function(e) {
cb(e, mes);
}
}
function bar(e, mes) {
console.log(e);
console.log(mes);
}