aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/optional-chain-with-function.debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snapshots/optional-chain-with-function.debug.js')
-rw-r--r--integration/snapshots/optional-chain-with-function.debug.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/integration/snapshots/optional-chain-with-function.debug.js b/integration/snapshots/optional-chain-with-function.debug.js
index bf007b0a8..6f963caa2 100644
--- a/integration/snapshots/optional-chain-with-function.debug.js
+++ b/integration/snapshots/optional-chain-with-function.debug.js
@@ -3,9 +3,9 @@ export function test() {
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);
+ bar = bar?.multipleSecondaryValues?.map((value) => false);
+ bar = bar?.bar?.multipleSecondaryValues?.map((value) => false);
+ bar = {}?.bar?.multipleSecondaryValues?.map((value) => false);
} catch (e) {
throw e;
}