xxxxxxxxxx
for (const [key, value] of myMap) {
console.log(key + ' = ' + value)
}
xxxxxxxxxx
# Edit the file
sudo vim /etc/needrestart/needrestart.conf
# Chnage (#$nrconf{restart} = 'i';) to:
$nrconf{restart} = 'a'; # restart the services automatically