JS – ReferenceError: fetch is not defined
You’re running it on Node JS instance in Paiza.io. Use CodeSandbox or CodePen for running your code please. And here… Paiza runs on Node JS not on Browser. In your example, you need to use fetch() this way: Run code snippetExpand snippet Here’s the Code Sandbox: exciting-bhaskara-sksve The fetch() API is a browser API implemented in the major browsers. If you are planning to use … Read more