Best way to convert a case class to a js.Object
Say I have a case class: case class Name(first: String, last: String) val n1 = Name("John", "Doe") val n2 = Name("Mary", "Doe") and I have a java script object: @js.native trait MyJSObject exten...