You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Translates this method into the "delete" operator.
39
+
/// </summary>
40
+
/// <remarks>
41
+
/// See mdn: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete
42
+
/// </remarks>
43
+
/// <param name="arg">object.property</param>
44
+
/// <returns>true for all cases except when the property is an own non-configurable property, in which case false is returned in non-strict mode.</returns>
17
45
[Unary("delete ")]
18
46
publicstaticboolDelete(dynamicarg)
19
47
{
20
48
returntrue;
21
49
}
50
+
51
+
/// <summary>
52
+
/// Translates this method into the "void" operator.
53
+
/// </summary>
54
+
/// <remarks>
55
+
/// See mdn: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void
56
+
/// </remarks>
57
+
/// <param name="arg">expression</param>
58
+
/// <returns>Undefined</returns>
22
59
[Unary("void ")]
23
60
publicstaticUndefinedVoid(dynamicarg)
24
61
{
25
62
returnnewUndefined();
26
63
}
64
+
65
+
/// <summary>
66
+
/// Translates this method into the "typeof" operator.
67
+
/// </summary>
68
+
/// <remarks>
69
+
/// See mdn: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof
70
+
/// </remarks>
71
+
/// <param name="operand">An expression representing the object or primitive whose type is to be returned.</param>
72
+
/// <returns>string</returns>
27
73
[Unary("typeof ")]
28
-
publicstaticstringTypeOf(dynamicarg)
74
+
publicstaticstringTypeOf(dynamicoperand)
29
75
{
30
76
returnstring.Empty;
31
77
}
78
+
79
+
/// <summary>
80
+
/// Translates this method into the "instanceof" operator.
81
+
/// </summary>
82
+
/// <remarks>
83
+
/// See mdn: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/instanceof
84
+
/// </remarks>
85
+
/// <param name="obj">The object to test.</param>
86
+
/// <param name="constructor">Constructor to test against.</param>
/// Translates this method into the "in" operator.
96
+
/// </summary>
97
+
/// <remarks>
98
+
/// See mdn: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/in
99
+
/// </remarks>
100
+
/// <param name="prop">A string or symbol representing a property name (non-symbols will be coerced to strings). Can also be a private element identifier.</param>
101
+
/// <param name="obj">Object to check if it (or its prototype chain) contains the property with specified name (prop).</param>
102
+
/// <returns>bool</returns>
37
103
[Binary("in")]
38
-
publicstaticboolIn(dynamicleft,dynamicright)
104
+
publicstaticboolIn(dynamicprop,dynamicobj)
39
105
{
40
106
returntrue;
41
107
}
108
+
109
+
/// <summary>
110
+
/// Translates this method into the "," operator. (As a binary)
111
+
/// </summary>
112
+
/// <remarks>
113
+
/// See mdn: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comma_operator
0 commit comments