JavaScript String Comma Seprated Price с int

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