DEV Community

Discussion on: [Challenge] Add numbers without (+-*/)

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Dangerous one:

const add = (a,b)=>eval(`${a}${String.fromCharCode(43)}${b}`)
Enter fullscreen mode Exit fullscreen mode