IR check exports

Why do we have to `BracketSelect` here? Isn't `Array.length` an [extern we declare][1]?

[1]: https://github.com/scala-js/scala-js/blob/master/tools/jvm/src/main/scala/scala/scalajs/tools/optimizer/ScalaJSClosureOptimizer.scala#L260