how to fetch jsonp code example
Example: javascript fetch json
fetch('./yourjson.json')
.then((response) => response.json())
.then((data) => {
console.log(data);
})
fetch('./yourjson.json')
.then((response) => response.json())
.then((data) => {
console.log(data);
})