Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed the `Immutable` descriptor attribute.

  • Loading branch information...
commit beaf67dbd5b1345134aff1ee64126dcc1a5d4732 1 parent cf8343a
@otac0n otac0n authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Src/IronJS.Runtime/DescriptorAttrs.cs
View
4 Src/IronJS.Runtime/DescriptorAttrs.cs
@@ -8,7 +8,7 @@ public static class DescriptorAttrs
public const ushort ReadOnly = 1;
public const ushort DontEnum = 2;
public const ushort DontDelete = 4;
- public const ushort DontEnumOrDelete = 2 | 4;
- public const ushort Immutable = 1 | 2 | 3;
+ public const ushort DontEnumOrDelete = DontEnum | DontDelete;
+ public const ushort Immutable = ReadOnly | DontEnum | DontDelete;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.