codefellows/sea-c11-javascript — pull request #25 by bbrooks (2014-04-10 03:14:10+00:00)
Title: Assignment 2: Exclusive Or

Here's my solution for this assignment:
https://gist.github.com/hankyates/9680217

Wasn't sure if you wanted it all in one ternary, but I gave it a shot.

These are the rules I sussed out from the interface you defined:
- If the boolean values of the name arguments are the same, return false
- Otherwise, if one of them is truthy, return that one

This gets the job done, but I would love to hear if there is an even more concise solution!