Quiz · Closures and this · lesson 7 of 11Quiz — arrow and regular functionsHow do arrow functions differ from regular functions?[A]An arrow function written inside an object literal takes that object as its this, so it works well as a method there; outside an object an arrow behaves exactly like a regular function.[B]An arrow function is shorter to write and has no this of its own: it uses the this of the code around it, whatever object it is called on. So an arrow suits a callback inside a method, not a method itself.[C]An arrow function has no this at all: reading this inside it always stops the program with a ReferenceError, so any arrow that needs an object has to receive that object as an argument instead.[D]Arrow functions are only a shorter way to write the same function: this is the object before the dot, exactly as with a regular function, and the one real difference is that a one-line arrow can skip the braces and return.Subscribe to take the courseThe course is free. Sign in with Telegram and subscribe to the channel to open every lesson.Continue with TelegramSign in another way← BackthisNext →Exercise: a counter