Skip to main content
Ask a Question
Javascript
Asked a question 6 months ago

can anyone explain what's happening here? function ask(question,yes,no){ if (confirm(question)) yes(); else no(); } ask( "do you agree?",function(){alert("you agreed.");},function(){alert("you cancelled the execution.");} )

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now