mirror of
https://github.com/robertkrimen/otto
synced 2025-10-26 20:28:49 +08:00
2
otto.go
2
otto.go
@@ -274,7 +274,7 @@ func (self Otto) Call(source string, this interface{}, argumentList ...interface
|
||||
//
|
||||
// Or, creating a new object:
|
||||
//
|
||||
// object, _ := Otto.Object(`{ xyzzy: "Nothing happens." }`)
|
||||
// object, _ := Otto.Object(`({ xyzzy: "Nothing happens." })`)
|
||||
//
|
||||
// Or, creating and assigning an object:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user