diff --git a/Chapter 12/Exercise 12.9 b/Chapter 12/Exercise 12.9 new file mode 100644 index 0000000..958b981 --- /dev/null +++ b/Chapter 12/Exercise 12.9 @@ -0,0 +1,15 @@ +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); +})