New: Try Voli The Bear, Fast package manager (and not only) for Windows
JavaScript
// This prints the wrong product ids and never errors. Find out why, then fix toIds.
function toIds(values) {
  return values.map(parseInt);
}

const selected = ["4", "8", "11", "2"];
console.log("Comparing products: " + toIds(selected).join(", "));