src/aria/pageEngine/utils/PageEngineUtils.js
function (container, toAdd) {
            var entry;
            for (var i = 0, len = toAdd.length; i < len; i++) {
                entry = toAdd[i];
                this.addIfMissing(entry, container);
            }
        }
function (container, toAdd) {
            var entry;
            for (var i = 0, len = toAdd.length; i < len; i++) {
                entry = toAdd[i];
                this.addIfMissing(entry, container);
            }
        }
function ( container , toAdd ) { var entry ; for ( var i = 0 , len = toAdd . length ; i < len ; i ++ ) { entry = toAdd [ i ] ; this . addIfMissing ( entry , container ) ; } }
Add all the entries of the array toAdd into the array container only if container does not already have them
@param {Array} container
@param {Array} toAdd
Add all the entries of the array toAdd into the array container only if container does not already have them