|
@@ -125,8 +125,11 @@ class Analytics {
|
125
|
125
|
// optionally include local deployment information based on
|
126
|
126
|
// the contents of window.config.deploymentInfo
|
127
|
127
|
if (config.deploymentInfo) {
|
128
|
|
- for (var key in config.deploymentInfo) {
|
129
|
|
- permanentProperties[key] = config.deploymentInfo[key];
|
|
128
|
+ for (let key in config.deploymentInfo) {
|
|
129
|
+ if (config.deploymentInfo.hasOwnProperty(key)) {
|
|
130
|
+ permanentProperties[key]
|
|
131
|
+ = config.deploymentInfo[key];
|
|
132
|
+ }
|
130
|
133
|
}
|
131
|
134
|
}
|
132
|
135
|
|