1. Mozilla Developer Network (MDN) Web Docs:
Source: async function documentation.
Reference: In the main description
it states
"Async functions always return a promise. If the return value of an async function is not explicitly a promise
it will be implicitly wrapped in a promise." This directly supports the correct answer (B) and refutes option (D).
Location: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/asyncfunction
2. ECMA-262
13th Edition (ECMAScript® 2022 Language Specification):
Source: The official standard for the JavaScript language.
Reference: Section 15.8.5.3
AsyncFunctionStart (promiseCapability
asyncFunctionBody). This section details the abstract operation for starting an async function
which involves creating and returning a promise object at the outset of the function's evaluation.
Location: https://tc39.es/ecma262/#sec-async-functions
3. Exploring JS: JavaScript for Impatient Programmers (University-level textbook by Dr. Axel Rauschmayer):
Source: An in-depth
modern JavaScript book often used in academic settings.
Reference: Chapter 20
Section 20.3.1
"What async functions return". The text explicitly states: "An async function always returns a Promise. That Promise is fulfilled with what the function returns. It is rejected with what the function throws."
Location: https://exploringjs.com/impatient-js/chasync-functions.html#what-async-functions-return