function add(a, b) {
let el = document.createElement("div")
el.style.setProperty("font-size", `calc(${a}px + ${b}px)`)
return parseFloat(
el.style.fontSize.match(/\d+(?:\.\d+)?/)
)
}
function add(a, b) {
let el = document.createElement("div")
el.style.setProperty("font-size", `calc(${a}px + ${b}px)`)
return parseFloat(
el.style.fontSize.match(/\d+(?:\.\d+)?/)
)
}