Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Examples

Example 1

Code Block
languagejs
if(size(watchers)>= 2){
	watchers2 = deleteElementAt(watchers, 1);
}

The result returned by the routine function is assigned to a new array watchers2, so the initial array watchers will not be modified.

Example 2

Code Block
languagejs
if(size(watchers)>= 2){
	watchers = deleteElementAt(watchers, 1);
}

The result returned by the routine function is assigned to the the same array watchers, so the initial array watchers will be modified.

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "array_routinefunction" and space = currentSpace ( )
labelsarray_routinesfunctions