Returning an array in Javascript
Posted by
Avital Steinberg on
Aug 24, 2015; 12:02pm
URL: http://imagej.273.s1.nabble.com/Returning-an-array-in-Javascript-tp5014124.html
Hi,
I'm having a problem returning arrays in Javascript. I have a function that
calculates things and returns an array of values. When I try to return an
array, I get the following red warning message in the console:
[WARNING] Ignoring unsupported output: result
[sun.org.mozilla.javascript.internal.NativeArray]
Also, I'm having trouble reproducing the problem, since it often disappears
for an unknown reason, and then I can't reproduce it.
Thanks,
Avital
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html