use of instead of in
This commit is contained in:
parent
f989bd7ca2
commit
65aee2f83c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export function recv(callback, errorCallback) {
|
||||||
console.log('connection recieved: ' +
|
console.log('connection recieved: ' +
|
||||||
con.remoteAddress + ":" + con.remotePort);
|
con.remoteAddress + ":" + con.remotePort);
|
||||||
let data = [];
|
let data = [];
|
||||||
for (let key in Object.keys(functions)) {
|
for (let key of Object.keys(functions)) {
|
||||||
data.push({ n: key, a: reqs[key] })
|
data.push({ n: key, a: reqs[key] })
|
||||||
}
|
}
|
||||||
let functions_str = JSON.stringify(data);
|
let functions_str = JSON.stringify(data);
|
||||||
|
|
Loading…
Reference in a new issue