Skip to content
intermediate

Challenge: the first character that is unique

Implement this from the stub. Hidden tests grade the behaviour you write, not the comments you leave.

Challenge: The First Character That Is Unique

export function firstUniqueIndex(input: string): number {
  // Your implementation here
}
challenge — implement from scratchCtrl+↵ submits · Ctrl+Shift+↵ runsstarter code