Source code
Revision control
Copy as Markdown
Other Tools
// |reftest|
class A {
#x = 14;
g() {
return eval('this.#x');
}
}
a = new A;
assertEq(a.g(), 14);
if (typeof reportCompare === 'function') reportCompare(0, 0);