Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
12
Frontend-Learner/node_modules/muggle-string/out/getLength.js
generated
vendored
Normal file
12
Frontend-Learner/node_modules/muggle-string/out/getLength.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getLength = void 0;
|
||||
function getLength(segments) {
|
||||
let length = 0;
|
||||
for (const segment of segments) {
|
||||
length += typeof segment == 'string' ? segment.length : segment[0].length;
|
||||
}
|
||||
return length;
|
||||
}
|
||||
exports.getLength = getLength;
|
||||
//# sourceMappingURL=getLength.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue