this - параметр
<button onclick="pushBtn(this);"> Натисни на мене </button>
// script
function pushBtn(obj) {
var pushed = obj.innerHTML;
if (pushed == '=') {
}
}
<button onclick="pushBtn(this);"> Натисни на мене </button>
// script
function pushBtn(obj) {
var pushed = obj.innerHTML;
if (pushed == '=') {
}
}