Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setInterval(() => {}, 1000);
- let arr = [];
- process.on('message', data => {
- for(let i = 0; i < 10000 && data.complex > 0; i++)
- arr.push((data.id + 1) / 0.4257);
- let av = 0;
- for(let i = 0; i < arr.length && data.complex > 1; i++)
- av += arr[i]/12.23457;
- process.send(data);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement