Javascript Uncaught Typeerror Typeerror Array From Foreach Is Not

Javascript Uncaught Typeerror Typeerror Array From Foreach Is Not