remove custom String/Object extensions in favor of ES5

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.4.0-rc0
    • Component/s: JavaScript, Shell
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Aaron Heckmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: