MCPcopy Create free account
hub / github.com/LinkedInLearning/javascript-essential-training-2832077 / updateBackpack

Function updateBackpack

01_06/script.js:10–14  ·  view source on GitHub ↗
(update)

Source from the content-addressed store, hash-verified

8See! this line is also commented out! */
9
10const updateBackpack = (update) => {
11 let main = document.querySelector("main"); // main is an element
12 main.innerHTML = markup(backpack);
13 console.info(update);
14};
15
16const backpack = {
17 name: "Everyday Backpack",

Callers 1

script.jsFile · 0.70

Calls 1

markupFunction · 0.70

Tested by

no test coverage detected