/// <summary>
/// Test if an object has a value at the specified index.
/// </summary>
/// <remarks>
/// Requires an active script context.
/// </remarks>
/// <param name="index">The index to test.</param>
/// <returns>Whether the object has an value at the specified index.</returns>
public bool HasIndexedProperty(JavaScriptValue index)
{
bool hasProperty;
Native.ThrowIfError(Native.JsHasIndexedProperty(this, index, out hasProperty));
return(hasProperty);
}