Could you explain why I get
Uncaught RangeError: maximum call stack size
in this example. What is the sequence of actions?
"use strict"; let myClass = class myClass{ constructor(name){ this.name = name; } get name() { return this.name; } set name(name){ this.name = name; } } let myObj = new myClass("John");
source share