7 lines
236 B
Plaintext
7 lines
236 B
Plaintext
=== tests/cases/conformance/parser/ecmascript5/PropertyAssignments/parserFunctionPropertyAssignment3.ts ===
|
|
var v = { "foo"() { } };
|
|
>v : { "foo": () => void; }
|
|
>{ "foo"() { } } : { "foo": () => void; }
|
|
>"foo"() { } : () => void
|
|
|