Javascript Classlist Returns Undefine In The Foreach Loop Stack

Javascript Classlist Returns Undefine In The Foreach Loop Stack