src/components/range/lib/classes.js
function ClassList (el) {
  if (!el || !el.nodeType) {
    throw new Error('A DOM element reference is required')
  }
  this.el = el
  this.list = el.classList
}
function ClassList (el) {
  if (!el || !el.nodeType) {
    throw new Error('A DOM element reference is required')
  }
  this.el = el
  this.list = el.classList
}
function ClassList ( el ) { if ( ! el || ! el . nodeType ) { throw new Error ( 'A DOM element reference is required' ) } this . el = el this . list = el . classList }
Initialize a new ClassList for `el`.

@param {Element} el
@api private
Initialize a new ClassList for el .