[SERVER-19292] Change const to var in jstests Created: 06/Jul/15  Updated: 05/Feb/16  Resolved: 07/Jul/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.1.5
Fix Version/s: 3.1.6

Type: Improvement Priority: Trivial - P5
Reporter: J Delaney Assignee: J Delaney
Resolution: Done Votes: 0
Labels: dnsf
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Participants:

 Description   

In jstests/core/top.js the const keyword is used. While this does not cause the tests to fail it is not a valid keyword in ES5. This causes problems for parsing the file for fuzzing.



 Comments   
Comment by Githook User [ 07/Jul/15 ]

Author:

{u'username': u'j-delaney', u'name': u'J Delaney', u'email': u'j.delaney@mongodb.com'}

Message: SERVER-19292 Change const to var in jstests

Closes #994.

Signed-off-by: Max Hirschhorn <max.hirschhorn@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/a28a5d1b0812db04bca196e955d37fe9549aef2d

Generated at Thu Feb 08 03:50:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.