codefellows/sea-c11-javascript — pull request #48 by kgentner (2014-04-14 22:13:13+00:00)
Title: Karl Gentner - xor & string delimiter assignments

xor.js : I tried to use a ternary operator for the main "exclusive or" statement; however, I just couldn't seem to wrap my brain around how one would implement that. Is there a difference between "ternary" and simply "conditional"? I did use a ternary for the subsequent determination of the FirstName or LastName result.

stringDelimiter.js : My approach was fairly straight-forward. I implemented a while loop to find the next instance of the delimiting character, push a substring to an array, and resize the original string.