diff --git a/src/org/mozilla/javascript/NativeReflect.java b/src/org/mozilla/javascript/NativeReflect.java index 907996f829..7ae6a13e7b 100644 --- a/src/org/mozilla/javascript/NativeReflect.java +++ b/src/org/mozilla/javascript/NativeReflect.java @@ -340,7 +340,7 @@ private static Object set(Context cx, Scriptable scope, Scriptable thisObj, Obje return true; } - if (descriptor.get("configurable") == Boolean.FALSE) { + if (Boolean.FALSE.equals(descriptor.get("configurable"))) { return false; } }