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.
A.calling a function with new sets this to a newly created object that is returned by default
B.an arrow function has no own this; it captures this from the enclosing lexical scope
C.when called as obj.method(), this is the object to the left of the dot
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
A.call vs apply
B.Method invocation this
C.Arrow function this
D.new binding
Answer + AI explanation with a free account
3. Which statement is correct?
Mid
A.Arrow function this — returns a new function whose this is permanently bound to a given object
B.Arrow function this — an arrow function has no own this; it captures this from the enclosing lexical scope
C.Arrow function this — calling a function with new sets this to a newly created object that is returned by default
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
A.an arrow function has no own this; it captures this from the enclosing lexical scope
B.returns a new function whose this is permanently bound to a given object
C.both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
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
A.Default this in strict mode
B.new binding
C.call vs apply
D.Function.prototype.bind
Answer + AI explanation with a free account
6. Which statement is correct?
Mid
A.Function.prototype.bind — both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
B.Function.prototype.bind — calling a function with new sets this to a newly created object that is returned by default
C.Function.prototype.bind — when called as obj.method(), this is the object to the left of the dot
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
A.a plain function call leaves this as undefined in strict mode (the global object otherwise)
B.both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
C.when called as obj.method(), this is the object to the left of the dot
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
A.Method invocation this
B.new binding
C.call vs apply
D.Function.prototype.bind
Answer + AI explanation with a free account
9. Which statement is correct?
Mid
A.call vs apply — both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
B.call vs apply — when called as obj.method(), this is the object to the left of the dot
C.call vs apply — a plain function call leaves this as undefined in strict mode (the global object otherwise)
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
A.both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
B.an arrow function has no own this; it captures this from the enclosing lexical scope
C.calling a function with new sets this to a newly created object that is returned by default
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
A.Default this in strict mode
B.Arrow function this
C.Method invocation this
D.new binding
Answer + AI explanation with a free account
12. Which statement is correct?
Junior
A.Method invocation this — both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
B.Method invocation this — calling a function with new sets this to a newly created object that is returned by default
C.Method invocation this — a plain function call leaves this as undefined in strict mode (the global object otherwise)
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
A.both invoke a function with an explicit this; call passes arguments individually, apply passes them as an array
B.an arrow function has no own this; it captures this from the enclosing lexical scope
C.calling a function with new sets this to a newly created object that is returned by default
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
A.Default this in strict mode
B.Method invocation this
C.Function.prototype.bind
D.new binding
Answer + AI explanation with a free account
15. Which statement is correct?
Mid
A.new binding — a plain function call leaves this as undefined in strict mode (the global object otherwise)
B.new binding — calling a function with new sets this to a newly created object that is returned by default
C.new binding — when called as obj.method(), this is the object to the left of the dot
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
A.when called as obj.method(), this is the object to the left of the dot
B.calling a function with new sets this to a newly created object that is returned by default
C.an arrow function has no own this; it captures this from the enclosing lexical scope
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
A.call vs apply
B.Arrow function this
C.Method invocation this
D.Default this in strict mode
Answer + AI explanation with a free account
18. Which statement is correct?
Senior
A.Default this in strict mode — calling a function with new sets this to a newly created object that is returned by default
B.Default this in strict mode — a plain function call leaves this as undefined in strict mode (the global object otherwise)
C.Default this in strict mode — an arrow function has no own this; it captures this from the enclosing lexical scope
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.