Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
var
menu;
2
async
function
getMenu() {
3
let
response =
await
fetch(
"../assets/js/foodCourt.json"
);
4
menu =
await
response.json();
5
displayMenuItems(menu);
6
displayMenuButtons();
7
}
8
9
getMenu();
10
Callers
1
FoodCourt.js
File · 0.85
Calls
2
displayMenuItems
Function · 0.85
displayMenuButtons
Function · 0.85
Tested by
no test coverage detected