codefellows/sea-c16-javascript — pull request #143 by pkopp (2014-07-16 05:41:43+00:00)
Title: assignment 2.2 Exclusive OR

This is what I came up with on my own. Below is what I understand Martin showing in class.

var preferredName = function (firstName, lastName);
return (!firstName === !lastName) ? false : (firstName || lastName) };