init(_:)

Initialize a new instance of TypedArray in JavaScript environment with given elements.

JSTypedArray.swift:49
convenience init(_ array: [Element])

Parameters

array

The array that will be copied to create a new instance of TypedArray