2

The yield keyword in JavaScript would be pretty handy for certain scripting tasks in Java 8's Nashorn engine. Given the bleeding-edge-ness of yield (it's in ES6), it's probably not included in Nashorn, but I was curious if there's something similar available.

Max
  • 4,882
  • 2
  • 29
  • 43
  • possible duplicate of [How to simulate JavaScript yield?](http://stackoverflow.com/questions/4037252/how-to-simulate-javascript-yield) – Brandon Boone Sep 29 '14 at 20:36
  • @BrandonBoone Thanks. Related, but not the same -- this is largely a question about any non-standard extensions that might exist in Nashorn. – Max Sep 29 '14 at 20:58

0 Answers0