]> Cypherpunks repositories - gostls13.git/commit
syscall/js: document ValueOf() panic
authorMarkus <m.walther97@gmail.com>
Sat, 17 Nov 2018 19:21:32 +0000 (19:21 +0000)
committerRichard Musiol <neelance@gmail.com>
Tue, 20 Nov 2018 13:37:30 +0000 (13:37 +0000)
commit399fec28e22ac01b7a4fe56028c3016a0df6d2e6
tree330f32bc8116b33c068d61509ee955281c40c608
parent55c55dda1fa8f9351d992e4a05e94f8cb38f59a0
syscall/js: document ValueOf() panic

ValueOf() panics if x is not one of the expected types.

Change-Id: I1105e46bd09a5ab13c162b77c1c50cc45bce27a2
GitHub-Last-Rev: 34a88ce8206954d94f0a884ab7f6494116c54a2d
GitHub-Pull-Request: golang/go#28846
Reviewed-on: https://go-review.googlesource.com/c/150138
Reviewed-by: Richard Musiol <neelance@gmail.com>
src/syscall/js/js.go