var globalVar; /** * Constructor for AjaxRequest class * @param {string} url the url for the request

*/ 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 */ var a = "\u1111\z\n\u11"; 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 =`

Injected language fragment
`; var x: MyInterface, y: string, z: FooBarAlias;