(...sets: BooleanRecord[])
| 22 | } |
| 23 | |
| 24 | function merge(...sets: BooleanRecord[]): BooleanRecord { |
| 25 | const res: BooleanRecord = {}; |
| 26 | for (const s of sets) { |
| 27 | for (const v in s) { |
| 28 | if (s.hasOwnProperty(v)) res[v] = true; |
| 29 | } |
| 30 | } |
| 31 | return res; |
| 32 | } |
| 33 | |
| 34 | // Good source of info about elements and attributes |
| 35 | // https://html.spec.whatwg.org/#semantics |
no outgoing calls
no test coverage detected
searching dependent graphs…