added a native array() function for the JS generation; also refactored the code generated collection APIs so that most of them can be used with JavaScript and included more array based APIs into the JS generation
This commit is contained in:
@@ -4,3 +4,7 @@ import java.util.*
|
||||
|
||||
library("comparator")
|
||||
public fun comparator<T>(f : (T, T) -> Int) : Comparator<T> = js.noImpl
|
||||
|
||||
library("array")
|
||||
public fun <T> array(vararg value: T): Array<T> = js.noImpl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user