src/jdk/nashorn/internal/runtime/Property.java

Print this page

        

*** 50,59 **** --- 50,61 ---- * We use negative flags because most properties are expected to * be 'writable', 'configurable' and 'enumerable'. With negative flags, * we can use leave flag byte initialized with (the default) zero value. */ + public static final int WRITABLE_ENUMERABLE_CONFIGURABLE = 0b0000_0000_0000; + /** ECMA 8.6.1 - Is this property not writable? */ public static final int NOT_WRITABLE = 0b0000_0000_0001; /** ECMA 8.6.1 - Is this property not enumerable? */ public static final int NOT_ENUMERABLE = 0b0000_0000_0010;