code: function intersectModules(modulesA, modulesB) {
      const intersection = [];
      for (const module of modulesA) {
        if (modulesB.includes(module)) {
          intersection.push(module);
        }
      }
      return intersection;
    }
docs: intersect two arrays