TypeScript/tests/cases/compiler/libMembers.ts
2014-07-12 17:30:19 -07:00

15 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;
}