We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To set an object property value, we are able to call Set() method in object.go:
Set()
object.go
func (o *Object) Set(key string, val interface{}) error { if len(key) == 0 { return errors.New("v8go: You must provide a valid property key") } ... }
But, it does not accept an empty string key, which should be valid in javascript:
let obj = {} obj[""] = "Empty Key Value" // this will be valid in all of Javascript engines
So, empty string key should be available in v8go.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
To set an object property value, we are able to call
Set()
method inobject.go
:But, it does not accept an empty string key, which should be valid in javascript:
So, empty string key should be available in v8go.
The text was updated successfully, but these errors were encountered: