bug1683784.js (145B)
1 class C { 2 #x() { } 3 constructor() { this.#x = 1; } 4 } 5 6 try { 7 new C 8 } catch (e) { 9 assertEq(e.message, "cannot assign to private method"); 10 }
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |