On access suit or value inside the arrow function the code give following error:
Uncaught ReferenceError: suit is not defined at Object.toString (VM378 script.js:4) at VM429 script.js:7
let card = {
suit : "Spades",
value : "Queen",
toString : () => suit + " of " + card
};
console.log(card.toString());