IBM Support

The behavior of javascript function Array.splice() is different

Question & Answer


Question

On browsers, the behavior of javascript function Array.splice() is as follows. This function changes source array variable and returns new array of removed elements. Example: var src = ['a','b','c'] var res = src.splice(2,1,'d') Result: src => ['a','b','d'] res => ['c'] However, on ISIM 5.1/6.0/7.0, source array is not changed and it returns result of operation. Result on ISIM 5.1/6.0/7.0 src => not changed res => ['a','b','d']

[{"Product":{"code":"SSRMWJ","label":"IBM Security Identity Manager"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF010","label":"HP-UX"},{"code":"PF035","label":"z\/OS"}],"Version":"6.0;5.1;7.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
25 June 2018

UID

swg21680209