This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 24, 2011, 2:36 PM
30 Posts
topic has been resolvedResolved

Splice not working with SSJS?

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 1
 I have an array and wish to remove one entry from it.
 
In Client JS you can do: 
 
ex = [1, 2]; 
ex.splice(0,1); 
 
ex is now equals [2]. 
 
If I try the same in SSJS nothing is done to the array. No error message either... 
 
 
Isn't it supported? 
 
 
Thanks!

 
/J 
Mar 24, 2011, 2:38 PM
30 Posts
Re: Splice not working with SSJS?
 Obviously not:
http://dontpanic82.blogspot.com/2010/10/code-snippet-arraysplice-according-to.html 
 
/J 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal