JavaScript String Coma Seprated Price a int

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