File: asyncArrowFunction8_es2017.symbols

package info (click to toggle)
node-typescript 5.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 497,488 kB
  • sloc: javascript: 2,107,274; makefile: 6; sh: 1
file content (12 lines) | stat: -rw-r--r-- 653 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
//// [tests/cases/conformance/async/es2017/asyncArrowFunction/asyncArrowFunction8_es2017.ts] ////

=== asyncArrowFunction8_es2017.ts ===
var foo = async (): Promise<void> => {
>foo : Symbol(foo, Decl(asyncArrowFunction8_es2017.ts, 0, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))

  var v = { [await]: foo }
>v : Symbol(v, Decl(asyncArrowFunction8_es2017.ts, 1, 5))
>[await] : Symbol([await], Decl(asyncArrowFunction8_es2017.ts, 1, 11))
>foo : Symbol(foo, Decl(asyncArrowFunction8_es2017.ts, 0, 3))
}