here is my code
var code = "function checkEqual(a, b) {
return a >= b ? true : false
}
checkEqual(1, 2);"
condition
, in this case a >= b
satisfies the requirements of your challenges. There you are asking: Is a
greater than b
?. Sounds that it doesn't checks equality...
<script>
document.addEventListener('DOMContentLoader', function(){
document.getElementById('getMessage').onClick=function(){};
});
</script>