☰
Debian Codegraph
@
368-1
367-1
/
/
node
/
rxjs
/
src
/
internal
/
util
/
createObject.ts
☽
☼
node/rxjs/src/internal/util/createObject.ts
code
plain
raw
Apache-2.0
2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors; Ben Lesh; Microsoft Corporation.
debian/copyright
1
export function createObject(keys: string[], values: any[]) {
2
return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {} as any);
3
}