Sử dụng hệ điều hành Ubuntu 20.04 LTS. Sau đó cài đặt Docker, Git command line:
sudo apt-get update && sudo apt-get install -y git
curl -L get.docker.com | sudo bash && sudo apt install docker-compose -y
[ | |
"https://datuan.dev", | |
"https://google.com" | |
] |
// Function to format a number as currency | |
function formatCurrency(amount, currencyCode) { | |
return new Intl.NumberFormat('vi-VN', { | |
style: 'currency', | |
currency: currencyCode, | |
}).format(amount); | |
} | |
// Function to fetch data from a URL and handle errors | |
async function fetchData(url) { |