---
title: "init(name:getProperty:setProperty:attributes:)"
framework: javascriptcore
role: symbol
role_heading: Initializer
path: "javascriptcore/jsstaticvalue/init(name:getproperty:setproperty:attributes:)"
---

# init(name:getProperty:setProperty:attributes:)

Creates a static value with the specified values.

## Declaration

```swift
init(name: UnsafePointer<CChar>!, getProperty: JSObjectGetPropertyCallback!, setProperty: JSObjectSetPropertyCallback!, attributes: JSPropertyAttributes)
```

## See Also

### Creating a Static Value

- [init()](javascriptcore/jsstaticvalue/init().md)
