22 lines
551 B
TypeScript
22 lines
551 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////var o1 = {
|
|
//// "__proto__": 10
|
|
////};
|
|
////var o2 = {
|
|
//// __proto__: 10
|
|
////};
|
|
////o1./*1*/
|
|
////o2./*2*/
|
|
|
|
goTo.marker('1');
|
|
verify.completionListContains("__proto__", '(property) "__proto__": number');
|
|
edit.insert("__proto__ = 10;");
|
|
|
|
verify.quickInfoAt("1", '(property) "__proto__": number');
|
|
|
|
goTo.marker('2');
|
|
verify.completionListContains("__proto__", '(property) __proto__: number');
|
|
edit.insert("__proto__ = 10;");
|
|
|
|
verify.quickInfoAt("2", "(property) __proto__: number");
|