2014-11-12 00:56:56 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////var o1 = {
|
|
|
|
//// "__proto__": 10
|
|
|
|
////};
|
|
|
|
////var o2 = {
|
|
|
|
//// __proto__: 10
|
|
|
|
////};
|
|
|
|
////o1./*1*/
|
|
|
|
////o2./*2*/
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({ marker: "1", exact: { name: "__proto__", text: '(property) "__proto__": number' } });
|
2014-11-12 00:56:56 +01:00
|
|
|
edit.insert("__proto__ = 10;");
|
2016-09-09 18:02:55 +02:00
|
|
|
|
|
|
|
verify.quickInfoAt("1", '(property) "__proto__": number');
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({ marker: "2", exact: { name: "__proto__", text: "(property) __proto__: number" } });
|
2014-11-12 00:56:56 +01:00
|
|
|
edit.insert("__proto__ = 10;");
|
2016-09-09 18:02:55 +02:00
|
|
|
|
|
|
|
verify.quickInfoAt("2", "(property) __proto__: number");
|