---
title: kJSPropertyAttributeReadOnly
framework: javascriptcore
role: symbol
role_heading: Global Variable
path: javascriptcore/kjspropertyattributereadonly
---

# kJSPropertyAttributeReadOnly

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

## Declaration

```swift
var kJSPropertyAttributeReadOnly: Int { get }
```

## See Also

### Constants

- [kJSPropertyAttributeNone](javascriptcore/kjspropertyattributenone.md)
- [kJSPropertyAttributeDontEnum](javascriptcore/kjspropertyattributedontenum.md)
- [kJSPropertyAttributeDontDelete](javascriptcore/kjspropertyattributedontdelete.md)
