MCQs>IT & Programming>JavaScript>What would be printed to the console? function foo(arg) { console.log(Math.pow(this, arg)) } setTimeout(foo.bind(5, 2), 0); console.log('Done');
JavaScript MCQs
What would be printed to the console? function foo(arg) { console.log(Math.pow(this, arg)) } setTimeout(foo.bind(5, 2), 0); console.log('Done');
Answer
Correct Answer: 'Done' 25
Explanation:
Note: This Question is unanswered, help us to find answer for this one