First Unique Character In A String Javascript Leetcode By K

First Unique Character In A String Javascript Leetcode By K