andrewplummer / Sugar

A Javascript library for working with native objects.
https://sugarjs.com/
MIT License
4.54k stars 305 forks source link

Object.isFunction returns false for async functions #649

Open trikadin opened 5 years ago

trikadin commented 5 years ago
Sugar.Object.isFunction(async () => {}); // false

Every browser which natively supports async functions

trikadin commented 5 years ago

And Node.JS too

andrewplummer commented 5 years ago

Will have a look into this... thank you!