`seen` is an array so the `seen !== value` is not right.