This function in typescript
async function main() {
is converted to
function main() {
return __awaiter(this, void 0, void 0, function* () {
Does that *
in function*
represent a C++ like pointer ?
This function in typescript
async function main() {
is converted to
function main() {
return __awaiter(this, void 0, void 0, function* () {
Does that *
in function*
represent a C++ like pointer ?
The function*
declaration (function keyword followed by an asterisk) defines a generator function, which returns a Generator object.
Refer to MDN Docs