private static object __STUB__Has(ScriptEngine engine, object thisObj, object[] args)
{
thisObj = TypeConverter.ToObject(engine, thisObj);
if (!(thisObj is MapInstance))
throw new JavaScriptException(engine, ErrorType.TypeError, "The method 'has' is not generic.");
switch (args.Length)
{
case 0:
return ((MapInstance)thisObj).Has(Undefined.Value);
default:
return ((MapInstance)thisObj).Has(args[0]);
}
}