diff --git a/js/tests/js1_7/geniter/regress-345736.js b/js/tests/js1_7/geniter/regress-345736.js index 2e0303b67471..73f263638100 100755 --- a/js/tests/js1_7/geniter/regress-345736.js +++ b/js/tests/js1_7/geniter/regress-345736.js @@ -20,6 +20,7 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): David Finch + * Jesse Ruderman * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -65,5 +66,13 @@ function test() actual = arr.toString(); reportCompare(expect, actual, summary); + arr=[x+x for ([,x] in ["a","b","c"])]; + expect = 'aa,bb,cc'; + actual = arr.toString(); + + arr=[x+y for ([x,y] in ["a","b","c"])]; + expect = '0a,1b,2c'; + actual = arr.toString(); + exitFunc ('test'); }