Exercise 12.8

This commit is contained in:
Karan
2021-11-25 19:26:21 +05:30
committed by GitHub
parent ac355c2d98
commit 1632b9d2d5
+16
View File
@@ -0,0 +1,16 @@
let myList = [{
"name": "Learn JavaScript",
"status": true
},
{
"name": "Try JSON",
"status": false
}
];
reloader();
function reloader() {
myList.forEach((el) => {
console.log(`${el.name} = ${el.status}`);
});
}