cleanup
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
let myList = [{
|
|
||||||
"name": "Learn JavaScript",
|
|
||||||
"status": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Try JSON",
|
|
||||||
"status": false
|
|
||||||
}
|
|
||||||
];
|
|
||||||
const newStr = JSON.stringify(myList);
|
|
||||||
const newObj = JSON.parse(newStr);
|
|
||||||
newObj.forEach((el)=>{
|
|
||||||
console.log(el);
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user