TypeScript/tests/baselines/reference/asiPreventsParsingAsNamespace01.js

16 lines
397 B
TypeScript
Raw Normal View History

2015-06-03 00:47:23 +02:00
//// [asiPreventsParsingAsNamespace01.ts]
var namespace: number;
var n: string;
namespace // this is the identifier 'namespace'
n // this is the identifier 'n'
{ } // this is a block body
//// [asiPreventsParsingAsNamespace01.js]
var namespace;
var n;
2015-06-03 21:05:53 +02:00
namespace; // this is the identifier 'namespace'
n; // this is the identifier 'n'
{ } // this is a block body