format to jsjon code example
Example: json beautify
fetch('https://fakestoreapi.com/products')
.then(res=>res.json())
.then(json=>console.log(json))
fetch('https://fakestoreapi.com/products')
.then(res=>res.json())
.then(json=>console.log(json))