Permalink
Browse files

Fixed the `Immutable` descriptor attribute.

  • Loading branch information...
1 parent cf8343a commit beaf67dbd5b1345134aff1ee64126dcc1a5d4732 @otac0n otac0n committed Jul 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;
}
}

0 comments on commit beaf67d

Please sign in to comment.