UI Deploy

Curated, Short, Web UI Dev we Love.

JavaScript: Creating a Function with a Callback

Something I seem to do a lot of when writing JavaScript is creating callback functions. I like them, they help with execution order, and promises aren’t supported enough for me to make the jump over to them quite yet without a reliable polyfill (although they’re very nice).

view source

Advertisement