a function i created (and i guess by default its not async) right?
What are you doing George?
By default no it doesn't return a promise. You can mark it as async to make it do so or return a new Promise as you stated const asyncFunction = async () => ({});
Обсуждают сегодня