예제 #1
0
        public object Operation_Member(JsObject obj, double index)
        {
            int intIndex = (int)index;
            if (index == intIndex)
            {
                var arrayStore = obj.PropertyStore as ArrayPropertyStore;
                if (arrayStore != null)
                    return arrayStore.GetOwnProperty(intIndex);
            }

            return obj.GetProperty(index);
        }
예제 #2
0
 public object Operation_Member(JsObject obj, object index)
 {
     return obj.GetProperty(index);
 }