this & Functions interview questions

18 this & Functions questions from the JavaScript bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Sign up free to see every answer with its explanation and ask the AI tutor.

Practice this & Functions free

1. What is Arrow function this?

Mid
  1. A.calling a function with new sets this to a newly created object that is returned by default
  2. B.an arrow function has no own this; it captures this from the enclosing lexical scope
  3. C.when called as obj.method(), this is the object to the left of the dot
  4. D.returns a new function whose this is permanently bound to a given object

Answer + AI explanation with a free account

2. Which term means: "an arrow function has no own this; it captures this from the enclosing lexical scope"?

Mid
  1. A.call vs apply
  2. B.Method invocation this
  3. C.Arrow function this
  4. D.new binding

Answer + AI explanation with a free account

3. Which statement is correct?

Mid
  1. A.Arrow function this — returns a new function whose this is permanently bound to a given object
  2. B.Arrow function this — an arrow function has no own this; it captures this from the enclosing lexical scope
  3. C.Arrow function this — calling a function with new sets this to a newly created object that is returned by default
  4. D.Arrow function this — a plain function call leaves this as undefined in strict mode (the global object otherwise)

Answer + AI explanation with a free account

4. What is Function.prototype.bind?

Mid
  1. A.an arrow function has no own this; it captures this from the enclosing lexical scope
  2. B.returns a new function whose this is permanently bound to a given object
  3. C.both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
  4. D.calling a function with new sets this to a newly created object that is returned by default

Answer + AI explanation with a free account

5. Which term means: "returns a new function whose this is permanently bound to a given object"?

Mid
  1. A.Default this in strict mode
  2. B.new binding
  3. C.call vs apply
  4. D.Function.prototype.bind

Answer + AI explanation with a free account

6. Which statement is correct?

Mid
  1. A.Function.prototype.bind — both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
  2. B.Function.prototype.bind — calling a function with new sets this to a newly created object that is returned by default
  3. C.Function.prototype.bind — when called as obj.method(), this is the object to the left of the dot
  4. D.Function.prototype.bind — returns a new function whose this is permanently bound to a given object

Answer + AI explanation with a free account

7. What is call vs apply?

Mid
  1. A.a plain function call leaves this as undefined in strict mode (the global object otherwise)
  2. B.both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
  3. C.when called as obj.method(), this is the object to the left of the dot
  4. D.an arrow function has no own this; it captures this from the enclosing lexical scope

Answer + AI explanation with a free account

8. Which term means: "both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array"?

Mid
  1. A.Method invocation this
  2. B.new binding
  3. C.call vs apply
  4. D.Function.prototype.bind

Answer + AI explanation with a free account

9. Which statement is correct?

Mid
  1. A.call vs apply — both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
  2. B.call vs apply — when called as obj.method(), this is the object to the left of the dot
  3. C.call vs apply — a plain function call leaves this as undefined in strict mode (the global object otherwise)
  4. D.call vs apply — calling a function with new sets this to a newly created object that is returned by default

Answer + AI explanation with a free account

10. What is Method invocation this?

Junior
  1. A.both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
  2. B.an arrow function has no own this; it captures this from the enclosing lexical scope
  3. C.calling a function with new sets this to a newly created object that is returned by default
  4. D.when called as obj.method(), this is the object to the left of the dot

Answer + AI explanation with a free account

11. Which term means: "when called as obj.method(), this is the object to the left of the dot"?

Junior
  1. A.Default this in strict mode
  2. B.Arrow function this
  3. C.Method invocation this
  4. D.new binding

Answer + AI explanation with a free account

12. Which statement is correct?

Junior
  1. A.Method invocation this — both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
  2. B.Method invocation this — calling a function with new sets this to a newly created object that is returned by default
  3. C.Method invocation this — a plain function call leaves this as undefined in strict mode (the global object otherwise)
  4. D.Method invocation this — when called as obj.method(), this is the object to the left of the dot

Answer + AI explanation with a free account

13. What is new binding?

Mid
  1. A.both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
  2. B.an arrow function has no own this; it captures this from the enclosing lexical scope
  3. C.calling a function with new sets this to a newly created object that is returned by default
  4. D.a plain function call leaves this as undefined in strict mode (the global object otherwise)

Answer + AI explanation with a free account

14. Which term means: "calling a function with new sets this to a newly created object that is returned by default"?

Mid
  1. A.Default this in strict mode
  2. B.Method invocation this
  3. C.Function.prototype.bind
  4. D.new binding

Answer + AI explanation with a free account

15. Which statement is correct?

Mid
  1. A.new binding — a plain function call leaves this as undefined in strict mode (the global object otherwise)
  2. B.new binding — calling a function with new sets this to a newly created object that is returned by default
  3. C.new binding — when called as obj.method(), this is the object to the left of the dot
  4. D.new binding — an arrow function has no own this; it captures this from the enclosing lexical scope

Answer + AI explanation with a free account

16. What is Default this in strict mode?

Senior
  1. A.when called as obj.method(), this is the object to the left of the dot
  2. B.calling a function with new sets this to a newly created object that is returned by default
  3. C.an arrow function has no own this; it captures this from the enclosing lexical scope
  4. D.a plain function call leaves this as undefined in strict mode (the global object otherwise)

Answer + AI explanation with a free account

17. Which term means: "a plain function call leaves this as undefined in strict mode (the global object otherwise)"?

Senior
  1. A.call vs apply
  2. B.Arrow function this
  3. C.Method invocation this
  4. D.Default this in strict mode

Answer + AI explanation with a free account

18. Which statement is correct?

Senior
  1. A.Default this in strict mode — calling a function with new sets this to a newly created object that is returned by default
  2. B.Default this in strict mode — a plain function call leaves this as undefined in strict mode (the global object otherwise)
  3. C.Default this in strict mode — an arrow function has no own this; it captures this from the enclosing lexical scope
  4. D.Default this in strict mode — when called as obj.method(), this is the object to the left of the dot

Answer + AI explanation with a free account

Free to start

Answers, AI explanations, and a free readiness check

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.

Practice this & Functions free
24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers