diff options
Diffstat (limited to 'test/snapshots/optional-chain-with-function.debug.js')
-rw-r--r-- | test/snapshots/optional-chain-with-function.debug.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/snapshots/optional-chain-with-function.debug.js b/test/snapshots/optional-chain-with-function.debug.js new file mode 100644 index 000000000..4b53bb5ed --- /dev/null +++ b/test/snapshots/optional-chain-with-function.debug.js @@ -0,0 +1,15 @@ +export function test() { + try { + const multipleSecondaryValues = undefined; + const ratings = ["123"]; + var bar = multipleSecondaryValues?.map((value) => false); + bar = bar?.multipleSecondaryValues?.map((value) => false); + bar = bar?.bar?.multipleSecondaryValues?.map((value) => false); + bar = {}?.bar?.multipleSecondaryValues?.map((value) => false); + } catch (e) { + throw e; + } + return testDone(import.meta.url); +} + +//# sourceMappingURL=http://localhost:8080/optional-chain-with-function.js.map |