Unlayer’s simple JavaScript SDK lets you embed a white-label email editor or page builder into your SaaS app in 5 minutes, instead of spending hours building it yourself (gross). Check it out.
function convertMilesToFeet(miles) {
return miles * 5_280;
}
OK fine. There actually isn’t a bug. You might think 5_280 is a typo, but it’s actually a feature of ES2021 called “numeric separators”. You can use it to more easily write numbers with separators.
const products = [
{
name: "Sticker Pack",
price: 10_00,
},
{
name: "The Creation of React T-shirt",
price: 30_00,
},
{
name: "Expand Your Mind Crewneck",
price: 50_00,
},
];