The following snippet behaves very differently in Scala.JS vs JVM. ``` scala "(a)(b)cd".r.pattern.matcher("").groupCount ``` In JVM, it prints 2. In JS it throws `java.lang.IllegalStateException: No match available`.