INNER CODE UNIT · JavaScript

i

mx-space/core · apps/admin/polyfills/packages/path/index.js:428

    var i = path.length - 1

    // Track the state of characters (if any) we see before our first dot and
    // after any path separator we find
    var preDotState = 0

    // Get non-dir info
    for (; i >= start; --i) {
      code = path.charCodeAt(i)
      if (code === 47 /*/*/) {
        // If we reached a path separator that was not part of a set of path
        // separators at the end of the string, stop now
        if (!matchedSlash) {
          startPart = i + 1
          break
        }
        continue
      }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…