update document for closureScope
and capture
#12886
Merged
closureScope
and capture
#12886