%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : www.kowitt.ac.th / Your IP : 216.73.216.118 Web Server : Microsoft-IIS/7.5 System : Windows NT SERVER02 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.6.31 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/Microsoft VS Code/resources/app/extensions/git/out/ |
Upload File : |
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); function* filter(it, condition) { let i = 0; for (let t of it) { if (condition(t, i++)) { yield t; } } } function* map(it, fn) { let i = 0; for (let t of it) { yield fn(t, i++); } } class FunctionalIteratorImpl { constructor(iterator) { this.iterator = iterator; } filter(condition) { return new FunctionalIteratorImpl(filter(this.iterator, condition)); } map(fn) { return new FunctionalIteratorImpl(map(this.iterator, fn)); } toArray() { return Array.from(this.iterator); } [Symbol.iterator]() { return this.iterator; } } function iterate(obj) { if (Array.isArray(obj)) { return new FunctionalIteratorImpl(obj[Symbol.iterator]()); } return new FunctionalIteratorImpl(obj); } exports.iterate = iterate; //# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/0f080e5267e829de46638128001aeb7ca2d6d50e/extensions\git\out/iterators.js.map