lib/transforms/bundleSystemJs.js
function intersectModules(modulesA, modulesB) {
    const intersection = [];
    for (const module of modulesA) {
      if (modulesB.includes(module)) {
        intersection.push(module);
      }
    }
    return intersection;
  }
function intersectModules(modulesA, modulesB) {
    const intersection = [];
    for (const module of modulesA) {
      if (modulesB.includes(module)) {
        intersection.push(module);
      }
    }
    return intersection;
  }
function intersectModules ( modulesA , modulesB ) { const intersection = [ ] ; for ( const module of modulesA ) { if ( modulesB . includes ( module ) ) { intersection . push ( module ) ; } } return intersection ; }
intersect two arrays
intersect two arrays