docs: function normalizeArray (v, keepBlanks) {
      var L = v.length, dst = new Array(L), dsti = 0,
          i = 0, part, negatives = 0,
          isRelative = (L && v[0] !== '');
      for (; i<L; ++i) {
        part = v[i];
        if (part === '..') {
          if (dsti > 1) {
            --dsti;
          } else if (isRelative) {
            ++negatives;
          } else {
            dst[0] = '';
          }
        } else if (part !== '.' && (dsti === 0 || keepBlanks || part !== '')) {
          dst[dsti++] = part;
        }
      }
      if (negatives) {
        dst[--negatives] = dst[dsti-1];
        dsti = negatives + 1;
        while (negatives--) { dst[negatives] = '..'; }
      }
      dst.length = dsti;
      return dst;
    }