undefined error even when function exist

Printable View