archives

« Bugzilla Issues Index

#1804 — ClassDefinition and ClassExpression name


Currently we don't set the name for the constructor for either ClassDefinition nor ClassExpression. We probably should:

class C {}
assert(C.name == 'C');

var D = class E {};
assert(C.name == 'E');


fixed in rev20 editor's draft


fixed in rev20 draft, Oct. 28, 2013