INNER CODE UNIT · JavaScript
start
mx-space/core · apps/admin/polyfills/packages/path/index.js:298
start = i + 1
break
}
} else {
if (firstNonSlashEnd === -1) {
// We saw the first non-path separator, remember this index in case
// we need it if the extension ends up not matching
matchedSlash = false
firstNonSlashEnd = i + 1
}
if (extIdx >= 0) {
// Try to match the explicit extension
if (code === ext.charCodeAt(extIdx)) {
if (--extIdx === -1) {
// We matched the extension, so mark this as the end of our path
// component
end = i
}