var atw = new ATrousWaveletTransform;with (atw) { layers = [ [true, true, 1.00, 3.00, 0.000, false, Recursive, 0.50, 2, 5, false, false, 0.50, 0.02000], [true, true, 1.00, 3.00, 0.000, false, Recursive, 0.50, 2, 5, false, false, 0.50, 0.02000], ]; // blah blah blah}console.writeln ("before, (",atw.layers[0][0],")");atw.layers[0][0] = false;console.writeln ("after, (",atw.layers[0][0],")");
before, (true)after, (true)
before, (true)after, (false)
$ jsjs> var foo = [ [true, 42], [true, 43] ];js> foo[1][0] = false;falsejs> print (foo);true,42,false,43js> _
No se yo no veo nada estraño en lo escrito :?, pero si esto no va habrían un montón de scripts fallando, que raro no?