MCQs>IT & Programming>JavaScript>function base(callback){ callback.call({msg:'hi'}) } function message(){ alert(this.msg) }; base(message); which is the value of alert?
JavaScript MCQs
function base(callback){ callback.call({msg:"hi"}) } function message(){ alert(this.msg) }; base(message); which is the value of alert?
Answer
Correct Answer: hi
Explanation:
Note: This Question is unanswered, help us to find answer for this one