Пример #1
0
 public static bool In(this EcmaValue thisValue, EcmaValue other)
 {
     if (other.Type != EcmaValueType.Object)
     {
         throw new EcmaTypeErrorException(InternalString.Error.NotObject);
     }
     return(other.HasProperty(EcmaPropertyKey.FromValue(thisValue)));
 }