function or(first, ...fragments) {
  for (let fragment of fragments) {
    first = orPair(first, fragment);
  }
  return first;
}
function or(first, ...fragments) {
  for (let fragment of fragments) {
    first = orPair(first, fragment);
  }
  return first;
}
function or ( first , ... fragments ) { for ( let fragment of fragments ) { first = orPair ( first , fragment ) ; } return first ; }
Disjunction factory.

Creates a disjunction NFA for (at least) two NFA-fragments.
Disjunction factory .