aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/optional-chain-with-function.hmr.debug.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-12 00:40:00 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-12 00:40:00 -0800
commit14efd03b48019255f636772eea0ff161e3807815 (patch)
tree409859ae8e944a1d6f673f072e7df6534ad117fb /test/snapshots/optional-chain-with-function.hmr.debug.js
parentd5b11be769d25d8b096f4dd9c853555a52693f93 (diff)
downloadbun-14efd03b48019255f636772eea0ff161e3807815.tar.gz
bun-14efd03b48019255f636772eea0ff161e3807815.tar.zst
bun-14efd03b48019255f636772eea0ff161e3807815.zip
:camera:
Diffstat (limited to 'test/snapshots/optional-chain-with-function.hmr.debug.js')
-rw-r--r--test/snapshots/optional-chain-with-function.hmr.debug.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/snapshots/optional-chain-with-function.hmr.debug.js b/test/snapshots/optional-chain-with-function.hmr.debug.js
index 4ad140c1e..f84290468 100644
--- a/test/snapshots/optional-chain-with-function.hmr.debug.js
+++ b/test/snapshots/optional-chain-with-function.hmr.debug.js
@@ -12,9 +12,8 @@ var hmr = new FastHMR(2145684817, "optional-chain-with-function.js", FastRefresh
(hmr._load = function() {
function test() {
try {
- const multipleSecondaryValues = undefined;
const ratings = ["123"];
- var bar = multipleSecondaryValues?.map((value) => false);
+ var bar = undefined?.map((value) => false);
bar = bar?.multipleSecondaryValues?.map((value) => false);
bar = bar?.bar?.multipleSecondaryValues?.map((value) => false);
bar = {}?.bar?.multipleSecondaryValues?.map((value) => false);