hallvard
01/21/2019, 1:12 PMvararg
function parameters? In a function of mine, there is only one parameter, and it is defined as vararg tags: String
. Inside the function, I collect the vararg into a list: tags.asList()
. In the produced js, the parameter is of course named tags
, and I find this in the function body: asList(tags)
. But wait... This takes the first string passed in and turns it into a character list.Svyatoslav Kuzmich [JB]
01/21/2019, 2:51 PMnapperley
01/21/2019, 10:30 PM