use spread operator to convert list to array
avoid special object |arguments| in function
convert value to string with operation for readability
use |array.slice| to copy array

* I feel readable.
* use |array.concat| only for joining arrays.
use |string.slice| instead of |string.substring|

* I have not used the special features of |substring| only.
remove unnecessary empty value check