Delete Exercise 15.1.txt

This commit is contained in:
Karan
2021-11-30 18:25:34 +05:30
committed by GitHub
parent 10858c283e
commit 655d0f231e
-18
View File
@@ -1,18 +0,0 @@
[
{
"name": "Learn JavaScript",
"status" : true
},
{
"name": "Try JSON",
"status" : false
}
]
const url = "list.json";
fetch(url).then(rep => rep.json())
.then((data) => {
data.forEach((el) => {
console.log(`${el.name} = ${el.status}`);
});
})