h3 for loop extensions

p Kaffeine adds the extra keywords <code>of</code> for looping through arrays and the <code>from</code> keyword to avoid methods that are not direct members.

textarea

  A = [7,3,4]

  // will log 14
  for x of A
    sum += x
  log sum     

  // will log 3
  for x, i of A
    sum += i
  log sum

p Kaffeine also provides a second optional second parameter for the in, of and from keywords, containing the current value:

textarea
  A = [7,3,4]
  z = ""

  // will log 734
  for key, val in A
    zip += val
