Can arrow functions be used as methods in JavaScript objects?
Arrow functions can be used as methods only with the function keyword.
function
No, arrow functions cannot be used as methods.
Yes, arrow functions can be used as methods.
Arrow functions can be used as methods only when assigned to a variable.