David Kihato·Follow1 min read·Sep 26, 2020--ShareGood article. Though, you've used '==' to compare strings instead of Object.equals() method