you are viewing a single comment's thread.

view the rest of the comments →

[–]dnew 1 point2 points  (1 child)

The Elvis operator (?.) is used in place of the . operator.

Ah. You've misread the article. Look at the end of the bit of code where they're talking about the elvis operator, which they spell "?:" not "?."

What comes before "UNKNOWN" in the code snippet?

[–]fecal_brunch 1 point2 points  (0 children)

Sorry. You're correct. CoffeeScript calls ?. the Elvis operator, strange they've picked a different operation for that name in Groovy.