Skip to content
Advertisement

Convert list of ints to one number?

I have a list of integers that I would like to convert to one number like:

JavaScript

What is the best way to implement the magic function?

EDIT
I did find this, but it seems like there has to be a better way.

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement