mirror of https://github.com/tc39/test262.git
Fix typo from optional chaining test (#2287)
This commit is contained in:
parent
70a07985a5
commit
1da297e305
|
@ -75,7 +75,7 @@ class B extends A {
|
|||
return super.a?.name;
|
||||
}
|
||||
expr () {
|
||||
return super['a'].name;
|
||||
return super['a']?.name;
|
||||
}
|
||||
undf2 () {
|
||||
return super.b?.c;
|
||||
|
|
Loading…
Reference in New Issue