We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23aaca5 commit 8efd087Copy full SHA for 8efd087
xs/sources/xsMapSet.c
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2016-2023 Moddable Tech, Inc.
+ * Copyright (c) 2016-2026 Moddable Tech, Inc.
3
*
4
* This file is part of the Moddable SDK Runtime.
5
@@ -1531,7 +1531,7 @@ void fx_WeakMap_prototype_getOrInsertComputed(txMachine* the)
1531
mxPushUndefined();
1532
mxPushSlot(function);
1533
mxCall();
1534
- if (key->next && (key->next->flag & XS_INTERNAL_FLAG) && (key->next->kind & XS_SYMBOL_KIND))
+ if (key->next && (key->next->flag & XS_INTERNAL_FLAG) && (key->next->kind == XS_SYMBOL_KIND))
1535
mxPushSlot(key->next);
1536
else
1537
mxPushReference(key);
0 commit comments