MCPcopy Index your code
hub / github.com/LinkedInLearning/javascript-essential-training-2832077 / updateBackpack

Function updateBackpack

02_02/script.js:4–8  ·  view source on GitHub ↗
(update)

Source from the content-addressed store, hash-verified

2 * Create a Backpack object, populate some HTML to display its properties.
3 */
4const updateBackpack = (update) => {
5 let main = document.querySelector("main");
6 main.innerHTML = markup(backpack);
7 console.info(update);
8};
9
10const backpack = {
11 name: "Everyday Backpack",

Callers 1

script.jsFile · 0.70

Calls 1

markupFunction · 0.70

Tested by

no test coverage detected