mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 18:12:08 -05:00
7 lines
176 B
JavaScript
7 lines
176 B
JavaScript
window.addEventListener("load", loadJson());
|
|
|
|
function loadJson() {
|
|
fetch('./games.json')
|
|
.then((response) => response.json())
|
|
.then((json) => console.log(json));
|
|
} |