cleanup
This commit is contained in:
parent
cf275ff03c
commit
3da1a92cae
@ -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);
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user