[WASM] Document Array types

This commit is contained in:
Abduqodiri Qurbonzoda
2023-06-17 23:47:25 +03:00
committed by Space Team
parent da8f9fbd04
commit ffcc7dfca0
2 changed files with 210 additions and 3 deletions
@@ -39,6 +39,8 @@ public class Array<T> @PublishedApi internal constructor(size: Int) {
*
* The function [init] is called for each array element sequentially starting from the first one.
* It should return the value for an array element given its index.
*
* @throws RuntimeException if the specified [size] is negative.
*/
public inline constructor(size: Int, init: (Int) -> T)