8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b071757 commit 990d06cCopy full SHA for 990d06c
packages/optimizely-sdk/lib/utils/fns/index.ts
@@ -29,7 +29,8 @@ export function assign(target: any, ...sources: any[]): any {
29
for (let index = 1; index < sources.length; index++) {
30
const nextSource = sources[index];
31
if (nextSource !== null && nextSource !== undefined) {
32
- for (const nextKey in nextSource) {
+ let nextKey;
33
+ for (nextKey in nextSource) {
34
// Avoid bugs when hasOwnProperty is shadowed
35
if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
36
to[nextKey] = nextSource[nextKey];
0 commit comments