On Aug 2, 12:17 am, Daniel Friesen <[email protected]> wrote: > Updated (the issue with Rhino being broken was actually the cvs command > I was using wasn't checking out the new json directory) > $ ant jar > $ java -jar build/rhino1_7R3pre/js.jar -version 170 > Rhino 1.7 release 1 2008 11 26 > js> var foo = { __iterator__ : function(onlyKeys) { print(onlyKeys); > yield 0; } }; > js> for ( let f in foo ) {} > true > js> for each ( let f in foo ) {} > true > js>
There's something wrong in your process. I've just updated from CVS, executed your commands and worked flawlessly. There's one thing that bothers me. Why the first line outputted by Rhino is: "Rhino 1.7 release 1 2008 11 26"? It should have outputted the date when you built the sources, which I assume was not November 26th, 2008. _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
