user
Write a function to calculate the price of a product with taxes.
price = 100, tax rate = 0.2

Response:
assistant
const calculatePrice = (price, taxRate) => {
   return (price * (1+taxRate)).toFixed(2);
} 

calculatePrice(100, 0.2) // 1