Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
Kotlin libraries
1.8
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Native
switch theme
search in API
kotlin-stdlib
/
kotlinx.wasm.jsinterop
/
JsArray
Js
Array
Native
open
class
JsArray
(
val
arena
:
Arena
,
val
index
:
Object
)
:
JsValue
(
source
)
Since Kotlin
1.3
Members
Members & Extensions
Constructors
Js
Array
Link copied to clipboard
Native
constructor
(
jsValue
:
JsValue
)
constructor
(
arena
:
Arena
,
index
:
Object
)
Properties
arena
Link copied to clipboard
Native
val
arena
:
Arena
Since Kotlin
1.3
index
Link copied to clipboard
Native
val
index
:
Object
Since Kotlin
1.3
size
Link copied to clipboard
Native
val
size
:
Int
Since Kotlin
1.3
Functions
get
Link copied to clipboard
Native
operator
fun
get
(
index
:
Int
)
:
JsValue
Since Kotlin
1.3
get
Int
Link copied to clipboard
Native
fun
getInt
(
property
:
String
)
:
Int
Since Kotlin
1.3
get
Property
Link copied to clipboard
Native
fun
getProperty
(
property
:
String
)
:
JsValue
Since Kotlin
1.3
setter
Link copied to clipboard
Native
fun
JsValue
.
setter
(
property
:
String
,
lambda
:
KtFunction
<
Unit
>
)
fun
JsValue
.
setter
(
property
:
String
,
string
:
String
)
Since Kotlin
1.3
Thanks for your feedback!
Was this page helpful?
Yes
No
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or
contact our support
.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using
third-party services
for this purpose in accordance with the
JetBrains Privacy Policy
.