scala-js/scala-js — pull request #51 by lihaoyi (2013-12-09 04:23:45+00:00)
Title: Add implicit conversions for js.Number and js.String to RichDouble and StringOps

This will allow you to use nice things like `(x: js.Number).max(...)` or `(s: js.String).map(...)`, which are "available" on `Double`s and `String`s but not on `js.*` by default because implicits don't stack.