5 lines
266 B
TypeScript
5 lines
266 B
TypeScript
//// [objectLiteralReferencingInternalProperties.ts]
|
|
var a = { b: 10, c: b }; // Should give error for attempting to reference b.
|
|
|
|
//// [objectLiteralReferencingInternalProperties.js]
|
|
var a = { b: 10, c: b }; // Should give error for attempting to reference b.
|