JavaScript || Using API with ES6 modules

I am currently practing using API with es6 Modules in JS (vanilla). app.js import Game from ‘./model/Game’; const proxy = ‘https://cors-anywhere.herokuapp.com/’; let key = ‘MY_API_KEY_PRIVATE’; //kept private for StackOverflow let steamID = ‘76561197996900532’; getOwnedGames(); async function getOwnedGames() { try { const result = await fetch(`${proxy}http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?key=${key}&steamid=${steamID}&format=json&include_appinfo=true`); const data = await result.json(); let gamesList = data.response.games; console.log(gamesList);…