mirror of https://github.com/tc39/test262.git
Add missing `?` in unit test (#2477)
The question mark is required as it is part of the "optional chaining operator" `?.` that's being tested here
This commit is contained in:
parent
04b1d2254b
commit
6d4d69f19f
|
@ -22,7 +22,7 @@ const obj = {
|
|||
}
|
||||
assert.sameValue(33, fn()?.a);
|
||||
assert.sameValue(undefined, fn()?.b);
|
||||
assert.sameValue(44, obj.fn());
|
||||
assert.sameValue(44, obj?.fn());
|
||||
|
||||
// CallExpression SuperCall
|
||||
class A {}
|
||||
|
|
Loading…
Reference in New Issue