IntermediateJavaScript

Find the first non-repeating character

Write a function that finds the first non-repeating character in a string.

Examples

Input: "aabccdeff"

Output: "b"

Your Solution

Output

Click 'Run Code' to see the output