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

Function resetBtn

assets/js/KnapsackProblem.js:48–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48function resetBtn(){
49 let resultContainer = document.getElementById("result");
50
51 while(resultContainer.hasChildNodes){
52 resultContainer.removeChild(container.lastChild);
53 }
54}
55
56let theItems = [];
57

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected