DEV Community

Discussion on: 7 Ranks of Coderhood: Coder, Programmer, Computer Scientist, Developer, Engineer, Architect

Collapse
 
peterchaula profile image
Peter Chaula

The hacker way of getting the sum of numbers in an array

eval([1,2,3,4].join('+'))