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

Function addData

assets/js/ArrayMethods.js:59–63  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

57}
58
59function addData(obj) {
60 data.push(obj);
61
62 updateDOM();
63}
64
65function updateDOM(provideData = data) {
66 main.innerHTML = "<h2><strong>Person</strong> Wealth</h2>";

Callers 1

getRandomUserFunction · 0.85

Calls 1

updateDOMFunction · 0.70

Tested by

no test coverage detected