38 lines
720 B
TypeScript
38 lines
720 B
TypeScript
//// [reservedWords2.ts]
|
|
import while = require("dfdf");
|
|
import * as while from "foo"
|
|
|
|
var typeof = 10;
|
|
function throw() {}
|
|
module void {}
|
|
var {while, return} = { while: 1, return: 2 };
|
|
var {this, switch: { continue} } = { this: 1, switch: { continue: 2 }};
|
|
var [debugger, if] = [1, 2];
|
|
enum void {}
|
|
|
|
|
|
|
|
|
|
//// [reservedWords2.js]
|
|
require();
|
|
while ( = require("dfdf"))
|
|
;
|
|
while (from)
|
|
"foo";
|
|
var ;
|
|
typeof ;
|
|
10;
|
|
throw function () { };
|
|
module;
|
|
void {};
|
|
var _a = { while: 1, return: 2 }, = _a.while, = _a.return;
|
|
var _b = { this: 1, switch: { continue: 2 } }, = _b.this, = _b.switch.continue;
|
|
var _c = void 0;
|
|
debugger;
|
|
if ()
|
|
;
|
|
[1, 2];
|
|
var ;
|
|
(function () {
|
|
})( || ( = {}));
|
|
void {};
|