pgj commented on code in PR #5325: URL: https://github.com/apache/couchdb/pull/5325#discussion_r1826551650
########## src/docs/src/best-practices/jsdevel.rst: ########## @@ -247,6 +247,21 @@ might have emitted the "Invalid Date" string, while in later SpiderMonkey engines all the emit results from that document will be skipped, since view functions skip view results if an exception is thrown. +9. Invalid JavaScript before function definition + +SpiderMoneky version ``1.8.5`` allowed the invalid ``term : function(...)`` Review Comment: Typo: "SpiderMonkey" ########## src/docs/src/best-practices/jsdevel.rst: ########## @@ -247,6 +247,21 @@ might have emitted the "Invalid Date" string, while in later SpiderMonkey engines all the emit results from that document will be skipped, since view functions skip view results if an exception is thrown. +9. Invalid JavaScript before function definition + +SpiderMoneky version ``1.8.5`` allowed the invalid ``term : function(...)`` +syntax. So a view function like the following worked and produced successfull Review Comment: Typo: "successful" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
