//function to get data from an external api
function getData(url) {
//return the data from the api
return "data";
}
//function to display the data
function displayData(data) {
//display the data
console.log(data);
}
//example
const data = getData("https://api.github.com/users/joshua-miller");
displayData(data); //data from the api
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)