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