Exercise 12.8
This commit is contained in:
@@ -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}`);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user