async foo(a, b)
{
return 'something';
}
async bar(c, d)
{
this.foo(this.a, this.b);
}
}
and go an "undefined" error. So in my case how to I call a function within the same class?
I tried remove the this still return the same result
What is undefined?
You never set a or b.
I'm trying to get him to realize that on his own
I know the a and b is existing vlaue , just example.
@Suppen
Обсуждают сегодня