code: function createElementWithClass(tag, classes, content = null) {
    let ele = document.createElement(tag);
  
    if (Array.isArray(classes)) {
      for (let cla of classes) {
        if (!isEmptyString(cla)) {
          ele.classList.add(cla);
        }
      }
    } else if (!isEmptyString(classes)) {
      ele.classList.add(classes);
    }
    if (content) {
      ele.innerHTML = content;
    }
    ele.tabIndex = -1;
    return ele;
  }
docs: /*
  function countSpan(ele, count){
  let elelist = ele.children, tmp = null;
  
  if(count === null){
  tmp = {maxLength: 0, number: 0};
  } else {
  tmp = count;
  }
  
  for(let i = 0; i < elelist.length; ++i) {
  if(elelist[i].tagName === "SPAN") {
  tmp.number += 1;
  tmp.maxLength = tmp.maxLength > elelist[i].textContent.length ? tmp.maxLength : elelist[i].textContent.length;
  }
  tmp = countSpan(elelist[i], tmp);
  }
  return tmp;
  }
  
  function getElement(tagName, ele, out){
  let children = ele.children, tmp = [];
  
  if(out) {
  tmp = out;
  }
  
  for(let i = 0; i < children.length; ++i) {
  if(children[i].tagName === tagName) {
  tmp.push(children[i]);
  }
  tmp = getElement(tagName, children[i], tmp);
  }
  return tmp;
  }