[SERVER-8318] remove custom String/Object extensions in favor of ES5 Created: 24/Jan/13  Updated: 19/May/14  Resolved: 07/Mar/13

Status: Closed
Project: Core Server
Component/s: JavaScript, Shell
Affects Version/s: 2.4.0-rc0
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Aaron Heckmann Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Participants:

 Description   

There are a few non-standard javascript extensions to String and Object in the shell that can be removed now that we are running v8:

1) The non-standard Object.keySet() function can be removed in favor of the standardized Object.keys() available in v8.
2) The non-standard String#rtrim() function can be removed in favor of the standardized String#trimRight() available in v8.
3) The non-standard String#ltrim() function can be removed in favor of the standardized String#trimLeft() available in v8.


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