import "github.com/gopherjs/gopherjs/js" func main() { obj := js.Global.Get("Object").New() // creates a new JavaScript object obj.Set("name", "John Doe") // set a new property to the object name := obj.Get("name").String() // get the name property value as a string println("Name:", name) }In this example, we create a new JavaScript object using the New() function and set a property named "name" with a value of "John Doe". We then retrieve and print the value of the "name" property as a string. The Object type is a part of the gopherjs/js package, which is a Go package that allows Go code to interact with the JavaScript runtime environment.