Versions Compared

Key

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

...

Code Block
titlefor..each Java map
var System  = Java.type("java.lang.System")

// print all Java System property name, value pairs
for each (p in http://System.properties .entrySet()) {
    print(p.key, "=", p.value) 
}

// print all environment variables with values
for each (e in System.env.entrySet()) {
  print(e.key, "=", e.value)
}

New expression with last argument after ")"

...