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

Function items

assets/js/groceryList.js:5–9  ·  view source on GitHub ↗
(id,item,quantity)

Source from the content-addressed store, hash-verified

3const itemsController = (function(){
4
5 var items = function(id,item,quantity){
6 this.id = id;
7 this.item = item;
8 this.quantity = quantity;
9 }
10
11 //array which holds data inputted from user
12 var data = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected