JavaScript String Comca Seped Cena do INT

let output = parseFloat("2,299.00".replace(/,/g, ''));
console.log(output);
 Run code snippet
Annoyed Anteater