mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 14:47:06 +00:00
19 lines
222 B
Go
19 lines
222 B
Go
package otto
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestCloneGetterSetter(t *testing.T) {
|
|
vm := New()
|
|
|
|
vm.Run(`var x = Object.create(null, {
|
|
x: {
|
|
get: function() {},
|
|
set: function() {},
|
|
},
|
|
})`)
|
|
|
|
vm.Copy()
|
|
}
|