renamed
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
let url = "people.json";
|
||||
fetch(url)
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
console.log(data);
|
||||
data.forEach(person => {
|
||||
console.log(`${person.first} ${person.last} - ${person.topic}`);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user