1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.arrayZip = arrayZip;
|
7 |
|
8 | // Copyright 2017-2022 @polkadot/util authors & contributors
|
9 | // SPDX-License-Identifier: Apache-2.0
|
10 | function arrayZip(keys, values) {
|
11 | const result = new Array(keys.length);
|
12 |
|
13 | for (let i = 0; i < keys.length; i++) {
|
14 | result[i] = [keys[i], values[i]];
|
15 | }
|
16 |
|
17 | return result;
|
18 | } |
\ | No newline at end of file |