Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index 6bd6764546702d8cf2a9de42b55435e3046b6e9f..a6a61df624a49c9460806a96fee5b166ba65efcd 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -141,7 +141,7 @@ static Maybe<PropertyAttributes> UnscopableLookup(LookupIterator* it) { |
DCHECK(isolate->has_pending_exception()); |
return Nothing<PropertyAttributes>(); |
} |
- return blacklist->IsUndefined() ? attrs : Just(ABSENT); |
+ return blacklist->BooleanValue() ? Just(ABSENT) : attrs; |
} |
static void GetAttributesAndBindingFlags(VariableMode mode, |