Javascript Vanilla Js Get Undefined When Calling A Function In In

Javascript Vanilla Js Get Undefined When Calling A Function In In