SIGN IN SIGN UP

📜 33 JavaScript concepts every developer should know.

0 0 20 JavaScript

refactor: wrap callback-based image loader with Promise API

Removes duplicated logic and reuses existing callback implementation
to demonstrate wrapping callbacks with promises.

The earlier example was creating a duplicate implementation.
S
Saksham Gupta committed
4cf23d484e88726ce1b43a21cd50c83e7ea4112d
Parent: 60f9337