---
title: "init(newBigIntFrom:in:)"
framework: javascriptcore
role: symbol
role_heading: Initializer
path: "javascriptcore/jsvalue/init(newbigintfrom:in:)-8l9iv"
---

# init(newBigIntFrom:in:)

## Declaration

```swift
init?(newBigIntFrom int64: Int64, in context: JSContext)
```

## Parameters

- `int64`: The signed 64-bit integer of the BigInt JavaScript value being created.
- `context`: The JSContext to which the resulting JSValue belongs.

## Return Value

Return Value The JSValue representing a JavaScript value with type BigInt.

## Discussion

Discussion Create a new BigInt value from a int64_t.
