js beberapa url ambil

Promise.all([1, 2, 3].map(id => 
  fetch(`https://jsonplaceholder.typicode.com/todos/${id}`).then(resp => resp.json())
)).then(console.log);
 Run code snippet
Matt Miller