set Rhino shell's JS version to 180 (#477)

fixes a crash with JS 1.8 keywords (such as `let`)
This commit is contained in:
Jeff Williams 2013-08-15 07:44:30 -07:00
parent 7459bbbd52
commit c8167b8d76

View File

@ -4,6 +4,9 @@
* to get JSDoc to run.
*/
// Set the JS version that the Rhino interpreter will use.
version(180);
/**
* Emulate DOM timeout/interval functions.
* @see https://developer.mozilla.org/en-US/docs/DOM/window#Methods