MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / getMenu

Function getMenu

assets/js/FoodCourt.js:2–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1var menu;
2async function getMenu() {
3 let response = await fetch("../assets/js/foodCourt.json");
4 menu = await response.json();
5 displayMenuItems(menu);
6 displayMenuButtons();
7}
8
9getMenu();
10

Callers 1

FoodCourt.jsFile · 0.85

Calls 2

displayMenuItemsFunction · 0.85
displayMenuButtonsFunction · 0.85

Tested by

no test coverage detected