]> Cypherpunks repositories - gostls13.git/commit
syscall/js: improve documentation of js.FuncOf
authorTorben Schinke <torben.schinke@neotos.de>
Sun, 1 Mar 2020 20:07:46 +0000 (20:07 +0000)
committerRichard Musiol <neelance@gmail.com>
Sun, 1 Mar 2020 21:04:30 +0000 (21:04 +0000)
commita4f7b0879c8d5d67e8e186dc210d3c8e76589e78
treebcb036169dd85706820aa08c953e382f183cf7e2
parente44cda3aa97ba0870806e65fc66641eb2cf6682a
syscall/js: improve documentation of js.FuncOf

The existing documentation is improved to be more
explicit about the lifecycle and its consequences.

Fixes #34324

Change-Id: I9969afc69f6eeb7812c11fe821a842794df5aa5b
GitHub-Last-Rev: 246a4991660927f88f48290580e96b15c16663c1
GitHub-Pull-Request: golang/go#34551
Reviewed-on: https://go-review.googlesource.com/c/go/+/197458
Reviewed-by: Richard Musiol <neelance@gmail.com>
src/syscall/js/func.go