<!--
{
  "documentType" : "article",
  "framework" : "JavaScriptCore",
  "identifier" : "/documentation/JavaScriptCore/JSPropertyAttribute",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "JSPropertyAttribute"
}
-->

# JSPropertyAttribute

A JavaScript property attribute.

## Topics

### Constants

[`kJSPropertyAttributeNone`](/documentation/JavaScriptCore/kJSPropertyAttributeNone)

An attribute that specifies that a property has no special attributes.

[`kJSPropertyAttributeReadOnly`](/documentation/JavaScriptCore/kJSPropertyAttributeReadOnly)

An attribute that specifies that a property is read-only.

[`kJSPropertyAttributeDontEnum`](/documentation/JavaScriptCore/kJSPropertyAttributeDontEnum)

An attribute that specifies that property enumerators and JavaScript for-in loops don’t enumerate a property.

[`kJSPropertyAttributeDontDelete`](/documentation/JavaScriptCore/kJSPropertyAttributeDontDelete)

An attribute that specifies that the delete operation fails on a property.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)