diff --git a/jerry-core/ecma/operations/ecma-comparison.c b/jerry-core/ecma/operations/ecma-comparison.c
index 988bca810..a58508bb8 100644
--- a/jerry-core/ecma/operations/ecma-comparison.c
+++ b/jerry-core/ecma/operations/ecma-comparison.c
@@ -202,7 +202,15 @@ ecma_op_abstract_equality_compare (ecma_value_t x, /**< first operand */
#if ENABLED (JERRY_ESNEXT)
if (JERRY_UNLIKELY (ecma_is_value_symbol (x)))
{
- return ECMA_VALUE_FALSE;
+ if (!ecma_is_value_object (y))
+ {
+ return ECMA_VALUE_FALSE;
+ }
+
+ /* Swap values. */
+ x ^= y;
+ y ^= x;
+ x ^= y;
}
#endif /* ENABLED (JERRY_ESNEXT) */
diff --git a/tests/test262-es6-excludelist.xml b/tests/test262-es6-excludelist.xml
index 7688ac9ce..d48395bfa 100644
--- a/tests/test262-es6-excludelist.xml
+++ b/tests/test262-es6-excludelist.xml
@@ -269,7 +269,6 @@
-
ES2016 change: Generator methods isn't constructor - https://github.com/tc39/ecma262/pull/171
diff --git a/tests/test262-esnext-excludelist.xml b/tests/test262-esnext-excludelist.xml
index a8a9fcf89..05154322c 100644
--- a/tests/test262-esnext-excludelist.xml
+++ b/tests/test262-esnext-excludelist.xml
@@ -3622,7 +3622,6 @@
-