you need to call your functions:
stringToInt.getSumList.toString
Should be
stringToInt.getSumList().toString()
I'm guessing this prints nothing because
stringToInt.getSumList
Evaluates to the getSumList function itself, then
getSumList.toString
Evaluates to undefined since the function doesn't have a toString property.