Subtypes of js.Any are facade types to APIs implemented in
As such, all members must be defined with their right-hand-side being
In most cases, you should extend js.Object instead of this
trait to define facade types.
It is not possible to define traits or classes that inherit both from this
trait and a strict subtype of AnyRef. In fact, you should think of
js.Any as a third direct subclass of scala.Any, besides
scala.AnyRef and scala.AnyVal.
interoperability guide of Scala.js for more details.