Exemplo

node v8.17.0
version: 3.0.0
endpointsharetweet
class Example { static async teste () { return 'teste'; } } // Example.teste().then((val) => console.log(val)); const value = await Example.teste(); console.log('value', value)
Loading…

no comments

    sign in to comment