---
title: javaScriptContext
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webframe/javascriptcontext
---

# javaScriptContext

The frame’s global JavaScript execution context.

## Declaration

```swift
var javaScriptContext: JSContext! { get }
```

## Discussion

Discussion Use this method to bridge between the WebKit and Objective-C JavaScriptCore API.

## See Also

### Getting DOM Objects

- [domDocument](webkit/webframe/domdocument.md)
- [frameElement](webkit/webframe/frameelement.md)
- [globalContext](webkit/webframe/globalcontext.md)
- [windowObject](webkit/webframe/windowobject.md)
