Versions Compared

Key

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

...

Examples

Example 1

Code Block
languagejs
string[] array1 = {"a", "b", "c"};
string[] array2 = {"c", "d"};
return arrayDiff(array1, array2);

The result will be an array containing elements "a" and "b".

Example 2

Code Block
languagejs
string[] developers= usersInGroups({"jira -developers"});
string[] administrators = usersInGroups({"jira-administrators"});
return arrayDiff (developers, administrators );

...