[SERVER-22882] Remove the argumentsToArray function from the shell Created: 26/Feb/16  Updated: 16/Mar/16  Resolved: 29/Feb/16

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 3.3.3

Type: Task Priority: Minor - P4
Reporter: Kamran K. Assignee: Kamran K.
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Minor Change
Sprint: TIG 11 (03/11/16)
Participants:

 Description   

argumentsToArray should reject parameters that emulate arrays to avoid fuzzer failures:

argumentsToArray({length: Number.MAX_SAFE_INTEGER});



 Comments   
Comment by Kamran K. [ 29/Feb/16 ]

The argumentsToArray function is no longer available. Use Array.from instead.

Comment by Githook User [ 29/Feb/16 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: SERVER-22882 Remove the argumentsToArray function from the shell

The function is no longer necessary now that Array.from exists.
Branch: master
https://github.com/mongodb/mongo/commit/8aeda03d357042d43d3ec8a05b5e033d879da018

Generated at Thu Feb 08 04:01:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.