摘要:
下面是我看到的js参数传递的方法,其中说js只有按值传递以上是我在《javascript高级程序设计》中看到的。然后我用C#写了下面这段代码using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace refTest{ class Program { static void SomeFunction(int[] ints, int i) { ints[0] = 100; ints = new int[] { 3, 4, 5, 9, 8 }; i = 100; } sta.. 阅读全文
posted @ 2012-07-28 15:13
jsyzbyddy
阅读(582)
评论(9)
推荐(0)

浙公网安备 33010602011771号