vilmos.nagy
01/23/2017, 10:15 PMArray<T> is a very basic type, both on the JVM and in the JS.
I think there's a lot more differencies between any Map implementation on the JVM and on the JS backend.
(also, you could possibly write val hmap = HashMap<String, String>(), but that'll work only on the JVM)