(async () => {
const result = await db.collection("collection").findOne({colID: 1});
const res = await db.collection('collectiontwo').insertOne({title: result.title});
client.close();
})();
[
[x1, y1, x2, y2],
[x1, y1, x2, y2],
[x1, y1, x2, y2]
]
то всё нормально будет let place = _users.findIndex(({id}) => id == context.senderId);
const
len = 10;
arr: array[1..10] of string = ('À', 'Ó', 'Î', 'Û', 'È', 'Å', '¨', 'ß', 'Þ', 'Ý');
var
i: integer;
begin
// ...
end;
$code = `return [
API.groups.editManager({"group_id":"{$group_id}", "user_id":"{$userId399}", "comment":"{$comment12}", "comment_visible":"1"}),
API.groups.ban({"group_id":"{$group_id}", "owner_id":"{$userId399}", "end_date":"{$end_date}"}),
API.photos.delete({"owner_id":"{$userId1458}", "photo_id":"{$userId024}"})
];`;
но можно написать асинхронную обёртку для forEach
так же можно использовать Promise.all, но тогда запросы к базе данных будут отправляться одновременно