var obj ={ x:10, }var x=20 var F = function(){ var x=30; return this.x; } console.log(F.call(obj));console.log(F.call(F)); console.log(F.call(window)); ================================================output of above javascript at console is - Study24x7
Social learning Network
29 Jan 2020 12:46 AM study24x7 study24x7

var obj ={ x:10, }var x=20 var F = function(){ var x=30; return this.x; } console.log(F.call(obj));
console.log(F.call(F)); console.log(F.call(window));

================================================
output of above javascript at console is

A

undefined 20 undefined

B

10 undefined undefined

C

10undefined30

D

undefined20undefined

study24x7
Write a comment
  • Nidhi Gupta
  • 10 undefined 20
  • Anand Gupta
  • Correct answer is 10 undefined 20 which is not in option.
    Related Questions
    500+   more Questions to answer
    Most Related Articles