First Non Repeat

Write a JavaScript function to find the first non-adjacently-repeated character in a given string.

Examples:
  • "abbbbc" returns "a" because it's the first instance of a character that doesn't repeat adjacently.
  • "aaaabcd" returns "b".
  • "aacccddeefg" returns "c".