Update Exercise 15.1
This commit is contained in:
Vendored
+3
-2
@@ -1,5 +1,5 @@
|
||||
// This is a json object, create a file named list.json and place this object[] in it
|
||||
[
|
||||
// This is a json object, create a file named list.json in this directory and place this object[] in it.
|
||||
/*[
|
||||
{
|
||||
"name": "Learn JavaScript",
|
||||
"status" : true
|
||||
@@ -9,6 +9,7 @@
|
||||
"status" : false
|
||||
}
|
||||
]
|
||||
*/
|
||||
|
||||
const url = "list.json";
|
||||
fetch(url).then(rep => rep.json())
|
||||
|
||||
Reference in New Issue
Block a user