Use Promise.resolve in "all" pattern

Uses `Promise.resolve` in the `all` pattern example. Former example made use of `Promise.from` to get a resolved promise, which is no longer in the specification nor implemented by browsers.

Removes an unused function parameter in the same code snippet.