There was an error while loading. Please reload this page.
2 parents aaf0457 + 9cc7390 commit 7e55504Copy full SHA for 7e55504
module-examples/top-level-await/modules/getColors.js
@@ -1,5 +1,5 @@
1
// fetch request
2
-const colors = fetch('https://mdn.github.io/js-examples/modules/top-level-await/data/colors.json')
+const colors = fetch('https://mdn.github.io/js-examples/module-examples/top-level-await/data/colors.json')
3
.then(response => response.json());
4
5
-export default await colors;
+export default await colors;
0 commit comments