// Fonction async async function fetchData() { const response = await fetch("https://api.example.com/data"); const data = await response.json(); return data; } // Arrow function async const fetchData = async () => { const response = await fetch("https://api.example.com/data"); const data = await response.json(); return data; };