boolean indicating if an environment has native async
/await
support
var bool = hasAsyncAwaitSupport();
if ( bool ) {
console.log( 'Environment has native async/await support.' );
} else {
console.log( 'Environment lacks native async/await support.' );
}
Tests for native
async/await
support.