<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/keys-for-items-accessed-in-javascript-code",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Keys for Items Accessed in JavaScript Code"
}
-->

# Keys for Items Accessed in JavaScript Code

Keys in property list items that the system recieves from or sends to JavaScript code.

## Topics

### Constants

[`let NSExtensionJavaScriptPreprocessingResultsKey: String`](/documentation/Foundation/NSExtensionJavaScriptPreprocessingResultsKey)

A key whose value is an item of type `kUTTypePropertyList`. The item contains an `NSDictionary` that contains the object returned by the JavaScript code to its completion function.

[`let NSExtensionJavaScriptFinalizeArgumentKey: String`](/documentation/Foundation/NSExtensionJavaScriptFinalizeArgumentKey)

A key whose value is an item of type `kUTTypePropertyList`. The item contains an `NSDictionary` that contains the arguments to be passed to a JavaScript finalize method.



---

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)