JavaScript String Comma Virtned Price to Int

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