TypeError: e.reduce is not a function error

I got it working this morning. I needed to add .value to the end of the code I passed to the asHtml helper function