toJS property

JSArray<T> toJS

Compiler-specific conversion from list to JS array.

This is either a pass-by-reference, unwrap, or copy depending on the implementation of the given list, and users shouldn't rely on modifications to the list to affect the array or vice versa.

Implementation

external JSArray<T> get toJS;