src/js/utils.js
function toArray( list ) {
    const array = [];
    // iterate backwards ensuring that length is an UInt32
    for ( let i = list.length >>> 0; i--; ) {
        array[ i ] = list[ i ];
    }
    return array;
}
function toArray( list ) {
    const array = [];
    // iterate backwards ensuring that length is an UInt32
    for ( let i = list.length >>> 0; i--; ) {
        array[ i ] = list[ i ];
    }
    return array;
}
function toArray ( list ) { const array = [ ] ; // iterate backwards ensuring that length is an UInt32 for ( let i = list . length >>> 0 ; i -- ; ) { array [ i ] = list [ i ] ; } return array ; }
Converts NodeLists or DOMtokenLists to an array
@param  {[type]} list [description]
@return {[type]}      [description]
Converts NodeLists or DOMtokenLists to an array