Jurassic.Library.MapInstance.__STUB__Clear C# (CSharp) Method

__STUB__Clear() private static method

private static __STUB__Clear ( ScriptEngine engine, object thisObj, object args ) : object
engine ScriptEngine
thisObj object
args object
return object
        private static object __STUB__Clear(ScriptEngine engine, object thisObj, object[] args)
        {
            thisObj = TypeConverter.ToObject(engine, thisObj);
            if (!(thisObj is MapInstance))
                throw new JavaScriptException(engine, ErrorType.TypeError, "The method 'clear' is not generic.");
            ((MapInstance)thisObj).Clear(); return Undefined.Value;
        }