<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "JavaScriptCore",
  "identifier" : "/documentation/JavaScriptCore/kJSClassAttributeNoAutomaticPrototype",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "JavaScriptCore"
    ],
    "preciseIdentifier" : "c:@Ea@kJSClassAttributeNone@kJSClassAttributeNoAutomaticPrototype"
  },
  "title" : "kJSClassAttributeNoAutomaticPrototype"
}
-->

# kJSClassAttributeNoAutomaticPrototype

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

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

## Discussion

Use [`kJSClassAttributeNoAutomaticPrototype`](/documentation/JavaScriptCore/kJSClassAttributeNoAutomaticPrototype) with [`JSObjectSetPrototype(_:_:_:)`](/documentation/JavaScriptCore/JSObjectSetPrototype(_:_:_:)) to manage prototypes manually.

---

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)