Last active
July 20, 2017 18:51
-
-
Save gskachkov/12cbccf96e1ef5cf1d09bc7183dea301 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo = async function() {}; | |
typeof foo; | |
// "function" | |
foo.toString(); | |
// "async function () {}" | |
foo[Symbol.toStringTag]; | |
// "AsyncFunction" | |
Object.prototype.toString.call(v); | |
// [object AsyncFunction] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment