Open leodevbro opened 1 year ago
This code seems ok:
const a = () => { const amount = 200; return ( <div> <div>$ {amount}</div> </div> ); };
But if you delete the space next to the dollar sign, bracket analyzation is wrong:
const a = () => { const amount = 200; return ( <div> <div>${amount}</div> </div> ); };
.
This code seems ok:
But if you delete the space next to the dollar sign, bracket analyzation is wrong:
.