* Re-add optional chaining delete * Move exec tests next to output tests * Forgot to commit these
21 lines
186 B
JavaScript
21 lines
186 B
JavaScript
"use strict";
|
|
|
|
const obj = {
|
|
a: {
|
|
b: {
|
|
c: {
|
|
d: 2,
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
const a = obj?.a;
|
|
|
|
const b = obj?.a?.b;
|
|
|
|
const bad = obj?.b?.b;
|
|
|
|
let val;
|
|
val = obj?.a?.b;
|