fjorgemota / jimple

Just a dependency injection container to NodeJS and to the browser using new ES6 features
MIT License
75 stars 12 forks source link

Fix #72 #73

Closed Poyoman39 closed 4 years ago

Poyoman39 commented 4 years ago

It turns out testing if an async function is an async function is a bad idea. Since an async function should be treated like a function (returning a Promise, but ... it's a function) What about using this test to know if a function is a function ? (It is compatible with IE11)