diff --git a/doc/go1.12.html b/doc/go1.12.html index f1841cbffe..76c5fe3aac 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -27,7 +27,7 @@ Do not send CLs removing the interior tags from such phrases.
The latest Go release, version 1.12, arrives six months after Go 1.11. Most of its changes are in TODO. - As always, the release maintains the Go 1 promise of compatibility. + As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before.
@@ -732,19 +732,35 @@ for { This is a breaking change, but WebAssembly support is still experimental and not yet subject to the Go 1 compatibility promise. Any code using the - old name will need to be updated. + old names will need to be updated.
- TODO: https://golang.org/cl/141644: add Wrapper interface to support external Value wrapper types
+ If a type implements the new
+ Wrapper
+ interface,
+ ValueOf
+ will use it to return the JavaScript value for that type.
- TODO: https://golang.org/cl/143137: make zero js.Value represent "undefined"
+ The meaning of the zero
+ Value
+ has changed. It now represents the JavaScript undefined
value
+ instead of the number zero.
+ This is a breaking change, but WebAssembly support is still experimental
+ and not yet subject to the
+ Go 1 compatibility promise. Any code relying on
+ the zero Value
+ to mean the number zero will need to be updated.
- TODO: https://golang.org/cl/144384: add the Value.Truthy method
+ The new
+ Value.Truthy
+ method reports the
+ JavaScript "truthiness"
+ of a given value.