var globalVar;
/**
* Constructor for AjaxRequest class
* @param {string} url the url for the request<p/>
*/
function AjaxRequest(url) {
function local() {}
var urls = [ "www.cnn.com", 5, globalVar];
this.request = new XMLHttpRequest();
url = url.replace(/^\s*(.*)/, "$1"); // skip leading whitespace
/* check the url to be in urls */
this.foo = new function() {};
foo();
var hello = () => console.log("hello")}

@decorator()
class NameClass {
}
declare module name{
declare export var exportedVar: string;
declare export function exportedFunction(): void;
declare export class ExportedClass {}
}
interface MyInterface { }
type FooBarAlias = string;
var html =`<div title='HTML injection'>Injected language fragment</div>`;
var x: MyInterface, y: string, z: FooBarAlias;
module ModuleValidator {
import checkChars = CharUtils.notWhiteSpace;
export interface HasValidator<T> {
validateValue():Boolean;
}

type FooBarAlias = string;

@decorator()
class HasValidator implements HasValidator<String> {
/* Processed values */
static validatedValue:Array<String> = ["", "aa"];
private myValue:String;