14 lines
243 B
TypeScript
14 lines
243 B
TypeScript
var s="hello";
|
|
s.substring(0);
|
|
s.substring(3,4);
|
|
s.subby(12); // error unresolved
|
|
String.fromCharCode(12);
|
|
module M {
|
|
export class C {
|
|
}
|
|
var a=new C[];
|
|
a.length;
|
|
a.push(new C());
|
|
(new C()).prototype;
|
|
}
|
|
|