---
title: kJSClassAttributeNoAutomaticPrototype
framework: javascriptcore
role: symbol
role_heading: Global Variable
path: javascriptcore/kjsclassattributenoautomaticprototype
---

# kJSClassAttributeNoAutomaticPrototype

An attribute that specifies that a class doesn’t automatically generate a shared prototype for its instance objects.

## Declaration

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

## Discussion

Discussion Use kJSClassAttributeNoAutomaticPrototype with JSObjectSetPrototype(_:_:_:) to manage prototypes manually.

## See Also

### Constants

- [kJSClassAttributeNone](javascriptcore/kjsclassattributenone.md)
