reference/promise-types/vars.markdown: add another example of passing a container