code: public void setAttributes(String name, int attributes)
      {
          checkNotSealed(name, 0);
          findAttributeSlot(name, 0, SlotAccess.MODIFY).setAttributes(attributes);
      }
docs: Set the attributes of a named property.
  
  The property is specified by <code>name</code>
  as defined for <code>has</code>.<p>
  
  The possible attributes are READONLY, DONTENUM,
  and PERMANENT. Combinations of attributes
  are expressed by the bitwise OR of attributes.
  EMPTY is the state of no attributes set. Any unused
  bits are reserved for future use.
  
  @param name the name of the property
  @param attributes the bitset of attributes
  @exception EvaluatorException if the named property is not found
  @see org.mozilla.javascript.Scriptable#has(String, Scriptable)
  @see org.mozilla.javascript.ScriptableObject#READONLY
  @see org.mozilla.javascript.ScriptableObject#DONTENUM
  @see org.mozilla.javascript.ScriptableObject#PERMANENT
  @see org.mozilla.javascript.ScriptableObject#EMPTY