I compile the following to javascript: ``` cons...
# javascript
h
I compile the following to javascript:
Copy code
constructor(map: Map<String, Any?>) {
        if (map.isEmpty()) {
            throw IllegalArgumentException("Cannot construct Message object from empty map.")
        }
        backing = map
    }
... and get this in the console:
Copy code
TypeError: map.isEmpty is not a function
Did I miss something obvious?