well.js
function processQueue(queue, value) {
            if (!queue || queue.length === 0) return;
            var handler, i = 0;

            while (handler = queue[i++]) {
                handler(value);
            }
        }
function processQueue(queue, value) {
            if (!queue || queue.length === 0) return;
            var handler, i = 0;

            while (handler = queue[i++]) {
                handler(value);
            }
        }
function processQueue ( queue , value ) { if ( ! queue || queue . length === 0 ) return ; var handler , i = 0 ; while ( handler = queue [ i ++ ] ) { handler ( value ) ; } }
Utility functions  
Apply all functions in queue to value
@param {Array} queue array of functions to execute
@param {*} value argument passed to each function
Utility functions Apply all functions in queue to value