code: function isIgnore (ignore, str) {
    let result = false
    let i = 0
    while (!result && i < ignore.length) {
      if (ignore[i] === str) {
        result = true
      }
  
      i++
    }
    return result
  }
docs: check if sting is under ignore Array
  @param  {array}  ignore  strings to be ignored
  @param  {string}  str    string to check
  @return {Boolean}        is str in ignore array