mirror of
https://github.com/sergeyyarkov/digital-store.git
synced 2026-10-11 10:19:15 +03:00
4 lines
129 B
JavaScript
4 lines
129 B
JavaScript
export function insertCount(id, array) {
|
|
const counter = document.getElementById(id);
|
|
counter.innerHTML = array.length;
|
|
} |