結果 : e foreach is not a function javascript