---
title: world
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkscriptmessage/world
---

# world

The namespace in which the JavaScript code executes.

## Declaration

```swift
var world: WKContentWorld { get }
```

## Discussion

Discussion For more information about content worlds, see WKContentWorld.

## See Also

### Getting Message-Related Information

- [frameInfo](webkit/wkscriptmessage/frameinfo.md)
- [webView](webkit/wkscriptmessage/webview.md)
